Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread martin f krafft
also sprach da...@lang.hm da...@lang.hm [2011.02.01.1957 +0100]: rsyslog already has the include directive to include files (or all files in a directory) does this work for you? if not, what does it lack? I am aware of the include directive. It has nothing to do with what I am trying to do.

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread david
On Tue, 1 Feb 2011, martin f krafft wrote: also sprach da...@lang.hm da...@lang.hm [2011.02.01.1957 +0100]: rsyslog already has the include directive to include files (or all files in a directory) does this work for you? if not, what does it lack? I am aware of the include directive. It has

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread david
rsyslog already has the include directive to include files (or all files in a directory) does this work for you? if not, what does it lack? David LangDear rsysloggers, I found that using a construct like $template authlog,/var/log/auth.log_%$NOW% auth,authpriv.* ?authlog I can

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread martin f krafft
also sprach da...@lang.hm da...@lang.hm [2011.02.01.1957 +0100]: rsyslog already has the include directive to include files (or all files in a directory) does this work for you? if not, what does it lack? Hello David, thanks for your time in writing back. Unfortunately, I think I was

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread martin f krafft
also sprach da...@lang.hm da...@lang.hm [2011.02.01.2006 +0100]: your distro may have something like this, but Ubuntu already does all output directives through include files, so why not just replace those include files? Because it means I need to maintain them, rather than leave this job up

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread martin f krafft
also sprach da...@lang.hm da...@lang.hm [2011.02.01.2006 +0100]: your distro may have something like this, but Ubuntu already does all output directives through include files, so why not just replace those include files? Because it means I need to maintain them, rather than leave this job up

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread Rainer Gerhards
This sounds useful, at least for some use cases. However, this most probably requires considerable changes to the config engine. And as this engine is scheduled to be replaced, I don't like to touch it too much. However, there may be one solution. We could declare something like if the file name

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread david
On Tue, 1 Feb 2011, martin f krafft wrote: also sprach da...@lang.hm da...@lang.hm [2011.02.01.2006 +0100]: your distro may have something like this, but Ubuntu already does all output directives through include files, so why not just replace those include files? Because it means I need to

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread david
On Tue, 1 Feb 2011, Rainer Gerhards wrote: This sounds useful, at least for some use cases. However, this most probably requires considerable changes to the config engine. And as this engine is scheduled to be replaced, I don't like to touch it too much. However, there may be one solution. We

Bug#536432: [rsyslog] Appending a timestamp to all log files

2011-02-01 Thread martin f krafft
also sprach Rainer Gerhards rgerha...@hq.adiscon.com [2011.02.01.2155 +0100]: Then, you would need to define templates e.g $template /var/log/messages,/var/log/messages_%$NoW% And those would automatically be converted. That seems to require relatively few changes. Would that help?