seven daemons log through hive-log so the log store gets their severities
This commit is contained in:
parent
c7d37ca455
commit
b21a3e3632
1 changed files with 21 additions and 74 deletions
|
|
@ -67,15 +67,7 @@ async fn main() -> Result<()> {
|
|||
std::process::exit(code);
|
||||
}
|
||||
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(
|
||||
tracing_subscriber::EnvFilter::try_from_default_env().unwrap_or_else(|_| "info".into()),
|
||||
)
|
||||
// This is a systemd-managed daemon — stdout always goes to journald,
|
||||
// never a human terminal, and journald doesn't strip ANSI escapes:
|
||||
// they land in victorialogs as raw byte-array spam otherwise.
|
||||
.with_ansi(false)
|
||||
.init();
|
||||
hive_log::init();
|
||||
container_config::init_exe()?;
|
||||
|
||||
let listener = socket_listener()?;
|
||||
|
|
|
|||
Loading…
Reference in a new issue