OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Jenkins, Michael (Michael.Jenkinsdisney.com)
Date: Mon Apr 02 2001 - 12:09:20 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Read newsyslog(8) for FreeBSD and OpenBSD.
    (Use http://www.FreeBSD.org/cgi/man.cgi for both.)
    You'll see the "when" field of FreeBSD is quite
    different from the "archive interval" of OpenBSD.

    Mike

    -----Original Message-----
    From: Jason Hunt [mailto:jason.huntniicommunications.com]
    Sent: Monday, April 02, 2001 10:23 AM
    To: miscopenbsd.org
    Subject: /etc/newsyslog question

    I have the following in /etc/newsylog for messsages:

    /var/log/messages 644 24 * $MLDO Z

    I assumed that this would cause /var/log/messages to be rotated on
    last day of the month. Evidently not. I used the same format
    of FreeBSD, and I couldn't find what ngen meant in man pages for
    newssyslog.

    My crontab has this entry:

    # rotate log files every hour, if necessary
    0 * * * * /usr/bin/newsyslog

    anyone?