Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
`log-level()`: added a new global option to control syslog-ng's own internal | ||
log level. This augments the existing support for doing the same via the | ||
command line (via -d, -v and -t options) and via syslog-ng-ctl. This change | ||
also causes higher log-levels to include messages from lower log-levels, | ||
e.g. "trace" also implies "debug" and "verbose". By adding this capability | ||
to the configuration, it becomes easier to control logging in containerized | ||
environments where changing command line options is more challenging. | ||
|
||
`syslog-ng-ctl log-level`: this new subcommand in syslog-ng-ctl allows | ||
setting the log level in a more intuitive way, compared to the existing | ||
`syslog-ng-ctl verbose|debug|trace -s` syntax. | ||
|
||
`syslog-ng --log-level`: this new command line option for the syslog-ng | ||
main binary allows you to set the desired log-level similar to how you | ||
can control it from the configuration or through `syslog-ng-ctl`. |