mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 10:22:02 +00:00
fix: Correct systemd logger initialization
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
This commit is contained in:
parent
154c07f613
commit
b1a0483d6c
1 changed files with 1 additions and 2 deletions
|
|
@ -105,8 +105,7 @@ async fn main() {
|
|||
println!("🚀 Starting TimeTurner daemon...");
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
use systemd_journal_logger::JournalLog;
|
||||
JournalLog::init().unwrap();
|
||||
systemd_journal_logger::init().unwrap();
|
||||
log::set_max_level(log::LevelFilter::Info);
|
||||
log::info!("TimeTurner daemon started. API server is running.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue