log ownership on start

This commit is contained in:
Robin Appelman 2022-05-20 19:40:47 +02:00
commit 099ec46830

View file

@ -139,6 +139,13 @@ async fn run_loop(
None None
}; };
if let Some(server) = active_server.as_ref() {
info!(
server = debug(server),
"Taking ownership of existing server"
);
}
loop { loop {
let next_start = start_schedule.upcoming(Utc).next().unwrap(); let next_start = start_schedule.upcoming(Utc).next().unwrap();
let next_stop = stop_schedule.upcoming(Utc).next().unwrap(); let next_stop = stop_schedule.upcoming(Utc).next().unwrap();