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

@ -13,13 +13,13 @@ axum.workspace = true
# The read time in the fallback log line.
chrono.workspace = true
clap.workspace = true
hive-log.workspace = true
serde.workspace = true
# Comparing the presented bearer with the stored one.
subtle.workspace = true
swarm-secret-client.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
[lints]
workspace = true

View file

@ -288,14 +288,7 @@ async fn handle(State(responder): State<Arc<Responder<Store>>>, headers: HeaderM
async fn main() -> anyhow::Result<()> {
let stop = swarm_secret_client::shutdown_signal();
swarm_secret_client::install_crypto_provider();
tracing_subscriber::fmt()
.with_env_filter(
tracing_subscriber::EnvFilter::try_from_default_env()
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new("info")),
)
// stdout is journald, which keeps ANSI escapes as raw bytes.
.with_ansi(false)
.init();
hive_log::init();
let args = Args::parse();
let health = swarm_secret_client::health::Health::start(
swarm_secret_client::health::STALE_AFTER,