seven daemons log through hive-log so the log store gets their severities
This commit is contained in:
parent
c7d37ca455
commit
b21a3e3632
2 changed files with 21 additions and 74 deletions
|
|
@ -16,6 +16,7 @@ clap.workspace = true
|
|||
data-encoding.workspace = true
|
||||
# StreamExt::next on the subscription: async-nats returns a Stream.
|
||||
futures-util.workspace = true
|
||||
hive-log.workspace = true
|
||||
# `xkeys` for the callout xkey: opening sealed requests and sealing replies.
|
||||
nkeys = { workspace = true, features = ["xkeys"] }
|
||||
reqwest.workspace = true
|
||||
|
|
@ -36,7 +37,6 @@ swarm-agent-verify.workspace = true
|
|||
swarm-wire.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
# A loopback stand-in `IdP` for `oidc_secret`'s test of a non-2xx
|
||||
|
|
|
|||
|
|
@ -189,16 +189,7 @@ struct Args {
|
|||
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")),
|
||||
)
|
||||
// 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();
|
||||
let cli = Cli::parse();
|
||||
match (cli.command, cli.responder) {
|
||||
(
|
||||
|
|
|
|||
Loading…
Reference in a new issue