diff --git a/web/TemporalStasis b/web/TemporalStasis index 4b92b29..9bf5b0d 160000 --- a/web/TemporalStasis +++ b/web/TemporalStasis @@ -1 +1 @@ -Subproject commit 4b92b291b1e8494c7275f80ccb8ba3401ca093b3 +Subproject commit 9bf5b0ddb021e0d8bb514dc2e0930c0f16af6ff9 diff --git a/web/src/crons/refresh_travel_states.rs b/web/src/crons/refresh_travel_states.rs index ed10686..bc0f7a0 100644 --- a/web/src/crons/refresh_travel_states.rs +++ b/web/src/crons/refresh_travel_states.rs @@ -117,6 +117,14 @@ impl CronJob for RefreshTravelStates { Some(line) => line, }; + if line.starts_with("[ERROR] ") { + log::error!("{}", &line[8..]); + continue; + } + if line.starts_with("[WARN] ") { + log::warn!("{}", &line[7..]); + continue; + } if line.starts_with("[INFO] ") { log::info!("{}", &line[7..]); continue; @@ -125,8 +133,8 @@ impl CronJob for RefreshTravelStates { log::trace!("{}", &line[10..]); continue; } - if line.starts_with("[WARN] ") { - log::warn!("{}", &line[7..]); + if line.starts_with("[DEBUG] ") { + log::debug!("{}", &line[8..]); continue; }