[syslog-ng]-v and -p parameters not working as advertised

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Thu, 16 Dec 2004 14:20:07 -0500 (EST)


Excerpts from man syslog-ng:
        -p  <filename>
               Write the current PID information to the specified file.

        -v     Enable verbose mode.  Process will not become a  daemon.
               Prints out fewer messages, compared to -d.

Despite what that says, syslog-ng forks into the background when -v is
used.

Also, when -d is used to force syslog-ng to run in the foreground it
does not create a pid file even when -p is used.  I need the pidfile to
be created even when running in the foreground.

I am running syslog-ng with:
syslog-ng -d -p /var/run/syslog-ng.pid

--
Kevin