Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ const INOTIFY_EVENT_BUF_SIZE: usize = 32 * 1024;

/// Run until SIGTERM or SIGINT.
pub async fn run(cfg: Config, backends: Vec<Box<dyn Backend>>) -> Result<(), DaemonError> {
tracing::info!(
target: "controller",
version = VERSION,
"io-thread-controller starting"
);
let per_vm_destination = if cfg.enable_per_vm_status_line {
if cfg.enable_per_vm_main_log {
"main log".to_string()
Expand Down
8 changes: 7 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use io_thread_controller::{
util::Path,
};
use thiserror::Error;
use tracing::{debug, instrument};
use tracing::{debug, info, instrument};
use tracing_subscriber::fmt::format::FmtSpan;

#[derive(Error, Debug)]
Expand Down Expand Up @@ -124,6 +124,12 @@ async fn main() -> Result<(), IoThreadControllerError> {
return Err(IoThreadControllerError::NoSuchBackend(name.to_string()));
}

info!(
target: "controller",
version = VERSION,
"io-thread-controller starting"
);

let mut cfg = load_daemon_config(&cli.config)?;
debug!("loaded configuration {}", &cli.config);
if cli.print_status_header {
Expand Down
Loading