Watch
0
0
Fork
You've already forked hyperhive
0

seven daemons log through hive-log so the log store gets their severities

This commit is contained in:
maia 2026-11-19 07:26:38 +01:00 • committed by mara
commit b21a3e3632
2 changed files with 21 additions and 74 deletions

View file

@ -9,6 +9,7 @@ workspace = true
[dependencies]
anyhow.workspace = true
hive-log.workspace = true
hive-priv-sock.workspace = true
hive-types.workspace = true
libc.workspace = true
@ -16,7 +17,6 @@ rustix.workspace = true
serde_json.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
[dev-dependencies]
mockall.workspace = true

View file

@ -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()?;