On Sat, Dec 28, 2002 at 23:59 +0100, Hanspeter Roth wrote:
I'm running isdnd with logging output in /var/log/isdnd.log. In
/etc/newsyslog.conf I have the following entries:
/var/log/isdnd.acct 644 3 100 @T00 Z /var/run/isdnd.pid
/var/log/isdnd.log 644 3 100 @T00 Z /var/run/isdnd.pid
After the logfile is turned over there logging is discontinued.
How can I make the logging to continue after newsyslog?
Read 'man newsyslog', especially the discussion on the
"path_to_pid_file" and "signal_number" fields in the conf line
(these are optional and the default value might not fit in your
case, that's when you have to specify more appropriate values).
Then read 'man isdnd' and look at the "SIGNALS" and "FILES"
sections (the latter for how to get the pid, but then your above
example already has them -- I just write this should somebody
want to apply this technique to log other daemons' / services'
information by means of newsyslog).
This should get you over the problem. If the above newsyslog.conf
lines are yours you know whom to blame. :) Should these lines
have come with the distro (a quick check shows that neither
-STABLE nor -CURRENT have "isdn" entries in their
src/etc/newsyslog.conf files, but you still might have gotten
these from some manpage or online doc file) please feedback any
corrections to the project for the sake of your fellow FreeBSD
users. The same applies to web pages, too, of course.