Commit 0adf362
committed
fix: stream all production logs to stdout/stderr for journalctl
The previous production Console transport was filtered to error level,
which kept journalctl quiet but left operators who consume logs via
journalctl/pm2/docker without the info/warn context around failures.
Drop the level filter so the transport inherits the logger's configured
level (APP.LOG_LEVEL, default info). Errors still go to stderr via
stderrLevels; everything else goes to stdout. File transports are
unchanged, so the full on-disk log files continue to be written.
Set LOG_LEVEL=debug in CADT config to also stream verbose/debug.1 parent 56cca04 commit 0adf362
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | | - | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
0 commit comments