Re: newsyslog error



In article <5oem4vFmcrf1U1@xxxxxxxxxxxxxxxxxx>,
"Gretch" <gretchen@xxxxxxxxxxxx> writes:
This is not surprising since we are using syslog-ng. How can we change the
behaviour of newsyslog so that it HUPs syslog-ng instead of syslogd? We
don't see anything in /etc/newsyslog.conf that pertains to it.

From "man newsyslog":

path_to_pid_file
This optional field specifies the file name to read to find the
daemon process id. If this field is missing, it defaults to the
/var/run/syslogd.pid file. A signal of type sigtype is sent to
the process id contained in this path_to_pid_file file. This
field must start with `/' in order to be recognized properly.


If I understand correctly you need entries like this one in
"/etc/newsyslog.conf":

/var/log/messages 644 10 250 * Z /var/run/syslog-ng.pid

Kind regards

--
Matthias Scheler http://zhadum.org.uk/
.