using -dv on startup vs syslog-ng-ctl debug set=off
Hi, We are chasing an intermittent bug with slow reloads. We are following the debug suggestions and adding -dv to the execstart in the service file. Because of the load of messages that we push, I want to turn off the debugging after we are past the window when the slow reload happens. I naively tried doing "syslog-ng-ctl debug set=off" but it responded that the flag didn't change. Is there some way to tell syslog-ng to allow the -ctl command to make the change. I can imagine why this would be desired sometimes, but at 10k lines per minute it is going to fill up /tmp. right now I am doing ugly things to solve the problem, but really want to find a better way. thanks, jerry -- Jerry Scharf Pure Storage
Hi Jerry, The command should look something like: `syslog-ng-ctl debug --set=off`. Note the double dash before `set`. Cheers, Attila On Thu, Apr 27, 2023 at 11:10 PM Jerry Scharf <jscharf@purestorage.com> wrote:
Hi, We are chasing an intermittent bug with slow reloads. We are following the debug suggestions and adding -dv to the execstart in the service file. Because of the load of messages that we push, I want to turn off the debugging after we are past the window when the slow reload happens. I naively tried doing "syslog-ng-ctl debug set=off" but it responded that the flag didn't change. Is there some way to tell syslog-ng to allow the -ctl command to make the change. I can imagine why this would be desired sometimes, but at 10k lines per minute it is going to fill up /tmp. right now I am doing ugly things to solve the problem, but really want to find a better way. thanks, jerry -- Jerry Scharf Pure Storage
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
participants (2)
-
Attila Szakács
-
Jerry Scharf