From owner-freebsd-isdn Sun Dec 29 13:16:46 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA4E537B401 for ; Sun, 29 Dec 2002 13:16:44 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 58BC843EC5 for ; Sun, 29 Dec 2002 13:16:43 -0800 (PST) (envelope-from Gerhard.Sittig@gmx.net) Received: (qmail 5578 invoked by uid 0); 29 Dec 2002 21:16:41 -0000 Received: from p5091012b.dip0.t-ipconnect.de (HELO mail.gsinet.sittig.org) (80.145.1.43) by mail.gmx.net (mp010-rz3) with SMTP; 29 Dec 2002 21:16:41 -0000 Received: (qmail 73445 invoked from network); 29 Dec 2002 19:16:05 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 29 Dec 2002 19:16:05 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id gBTJFub73430 for freebsd-isdn@freebsd.org; Sun, 29 Dec 2002 20:15:56 +0100 (CET) (envelope-from sittig) Date: Sun, 29 Dec 2002 20:15:56 +0100 From: Gerhard Sittig To: freebsd-isdn@freebsd.org Subject: Re: isdnd logfile discontinued after newsyslog Message-ID: <20021229201555.R4807@shell.gsinet.sittig.org> Mail-Followup-To: freebsd-isdn@freebsd.org References: <20021228235953.A1853@gicco.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021228235953.A1853@gicco.homeip.net>; from hampi@rootshell.be on Sat, Dec 28, 2002 at 11:59:53PM +0100 Organization: System Defenestrators Inc. Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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