mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
feat(gateway): add option for outputting logs as JSON (#10620)
To enable customers to ingest flow logs (#8353) into various SIEMS, outputting structured logs is crucial.
This commit is contained in:
@@ -215,7 +215,7 @@ fn try_main() -> Result<()> {
|
||||
.as_deref()
|
||||
.map(|dir| firezone_logging::file::layer(dir, "firezone-headless-client"))
|
||||
.unzip();
|
||||
firezone_logging::setup_global_subscriber(layer).context("Failed to set up logging")?;
|
||||
firezone_logging::setup_global_subscriber(layer, false).context("Failed to set up logging")?;
|
||||
|
||||
// Deactivate DNS control before starting telemetry or connecting to the portal,
|
||||
// in case a previous run of Firezone left DNS control on and messed anything up.
|
||||
|
||||
Reference in New Issue
Block a user