newsyslogwithdate-extension-logfiles

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Sat Dec 6 05:39:57 PST 2003


On Sat, 6 Dec 2003 11:16:12 +0100
michael <michael at nettmail.de> 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...
> 
> or any other extension that will give the date in the name of file?
> 
> is this possible with the newsyslog?
> I think no! And why?

Maybe you need to think about your question again.
Why is it that you wish the files to be named with a date?
That is, what are you going to use it for?
Remember, it is quite easy to make a little script that will find the
date of a file from a 'ls -l' (or something like that) command.
Will that help you?
-- 
Yours,
Torfinn Ingolfsen
Norway



More information about the freebsd-stable mailing list