Date: Sun, 29 Dec 2002 20:15:56 +0100 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-isdn@freebsd.org Subject: Re: isdnd logfile discontinued after newsyslog Message-ID: <20021229201555.R4807@shell.gsinet.sittig.org> In-Reply-To: <20021228235953.A1853@gicco.homeip.net>; from hampi@rootshell.be on Sat, Dec 28, 2002 at 11:59:53PM %2B0100 References: <20021228235953.A1853@gicco.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021229201555.R4807>