Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 17:08:34 +0100
From:      Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl>
To:        jacks@sage-american.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Log dies after rotation
Message-ID:  <20011214170834.B35818@prioris.mini.pw.edu.pl>
In-Reply-To: <3.0.5.32.20011214001820.03dc67c8@mail.sage-american.com>; from jacks@sage-american.com on Fri, Dec 14, 2001 at 12:18:20AM -0600
References:  <3.0.5.32.20011214001820.03dc67c8@mail.sage-american.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 14, 2001 at 12:18:20AM -0600, jacks@sage-american.com wrote:
> After setting up the newsyslog to rotate natd log, it gets trimmed okay,
> but stops recording afterwards. Have looked everywhere for an explanation,
> but NADA... here is the line in my newsyslog.conf:
> # logfilename          [owner:group]    mode count size when [ZB]
> [/pid_file] [sig_num]
> /var/log/alias.log                      644  3     *    $D0   Z
> 
> It should be pretty simple, but hit a brick wall... been looking at it too
> long! It's set to trim at midnight and now it's 12:16am and no more
> logging. Has been running at about 2MB/day. I thought the permissions was
> set okay, but that about the only thing I haven't changed.
> 
> ...any suggestions appreciated once again... sigh!
Does it start loging when you snap it with a HUP signal?
Probably you lack two more filds: [/pid_file] and [sig_num].
The default signal is SIGHUP so puting a pid file path
should be sufficient.
Give it a try and share the results.
	gregory
-- 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011214170834.B35818>