Frank Knobbe frank at
Sat Dec 6 21:11:27 PST 2003

On Sat, 2003-12-06 at 04:16, michael wrote:
> Now i have the wish that the 'newsyslog' uses date-extensions
> in the 'rotated' logfiles.
> eg:
> messages.0.gz should be messages.20031206.gz and so on...

Take a look at syslog-ng. I'm very happy with it. I configured mine to
log to /var/log/$hostname/$date-messages, and it dumps one file per log
(i.e. messages, auth) prefixed with the date into the directory (one
directory per host). That's easily configured in syslog-ng.conf.

For example:
destination messages { file("/var/log/$HOST/$YEAR-$MONTH-$DAY-messages"); };

I highly recommend it over the plain old syslog.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-stable mailing list