atom feed3 messages in org.freebsd.freebsd-isdnRe: isdnd logfile discontinued after ...
FromSent OnAttachments
Hanspeter RothDec 28, 2002 2:59 pm 
Gerhard SittigDec 29, 2002 11:15 am 
Hanspeter RothDec 29, 2002 2:52 pm 
Subject:Re: isdnd logfile discontinued after newsyslog
From:Gerhard Sittig (Gerh@gmx.net)
Date:Dec 29, 2002 11:15:34 am
List:org.freebsd.freebsd-isdn

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.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message