Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 11:15:13 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        alexus <ml@db.nexgen.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: syslogd: restart
Message-ID:  <20010926111513.D99595@k7.mavetju.org>
In-Reply-To: <000701c14626$ea0ce620$0d00a8c0@alexus>; from ml@db.nexgen.com on Tue, Sep 25, 2001 at 09:02:28PM -0400
References:  <000701c14626$ea0ce620$0d00a8c0@alexus>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 25, 2001 at 09:02:28PM -0400, alexus wrote:
> su-2.05# grep restart /var/log/all.log
> Sep 25 00:00:11 box syslogd: restart
> ....
> Sep 25 21:00:21 box syslogd: restart
> su-2.05# grep -c restart /var/log/all.log
> 52
> su-2.05# 
> 
> any ideas why woudl syslogd restart on his own 50 times a day?

If you rotate log-files (because they're too big or too old), you
create the log-file again and syslog should be informed that it
should write to the new file. That's done with a restart. Note that
it's not a *start* (which is a clean start of the syslogd), but a
*restart*, which is a HUP signal send to the syslogd.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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?20010926111513.D99595>