Red Hat Bugzilla – Bug 158205
fix MARK message interval logging
Last modified: 2007-11-30 17:11:06 EST
Description of problem:
The fix for bug 152319 took do_mark() processing out of the
signal handler, but made it the last thing to do in the select()
loop, AFTER the test:
if ( n_fds == 0 )
this means that do_mark() was hardly ever called .
Moving the do_mark processing before the ( n_fds == 0 ) in the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. put -m N (N > 0) in /etc/sysconfig/syslog
MARK messages do not appear until a different message is logged.
MARK messages should appear every N seconds.
Reported by email from a Motorola customer who wishes email to
remain out of Bugzilla.
fixed with sysklogd-1.4.1-30 .
Clarification: the -m N mark interval is in minutes, not seconds.