Merge pull request 'feat: add log to journald feature' (#1056) from ragazenta/garage:feat/tracing-journald into main

Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1056
This commit is contained in:
Alex
2025-06-10 18:38:23 +00:00
6 changed files with 58 additions and 0 deletions
@@ -160,6 +160,10 @@ variable, it does not exist in the configuration file:
Garage daemon send its logs to `syslog` (using the libc `syslog` function)
instead of printing to stderr.
- `GARAGE_LOG_TO_JOURNALD` (since `v2.0.0`): set this to `1` or `true` to make the
Garage daemon send its logs to `journald` (using the native protocol of `systemd-journald`)
instead of printing to stderr.
The following environment variables can be used to override the corresponding
values in the configuration file: