On Fri, Feb 6, 2009 at 05:14, Rainer Gerhards <[email protected]> wrote: > So let me ask: why exactly would you like to have a log files like this > > log-2009-02-06-11-12 > log-2009-02-06-17-12 > > I thought what you would be interested in is that the first file was > created at 1112 hrs while the later was created at 1712 hrs.
The point wouldn't necessarily be to have timestamped filenames, but to facilitate at-will rotation, either by HUP or by size. I honestly wouldn't care if the filenames just had an incrementing identifier, like a '%$fileno%' property that incremented with each close/reopen cycle (bonus points for skipping already-existing files). Generalizing the problem to the idea of less-dynamic templates was the next step of my thought process and seemed more interesting than just adding another [potentially less reliable and portable] property. > If I get what the point in it is, I may come up with another solution. Again, I'm just brainstorming. If you think it's worthwhile to pursue now, by all means go for it; I'm just trying to find ways to make my life easier. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

