Collecting logs from multiple timezones and rotating on a central log server 
with a template like:
$template 
DAILYSYSLOG,"/var/log/logdir/%$YEAR%/%$MONTH%/%$DAY%/%HOSTNAME%/messages.log"

means that logs from each timezone still get rotated at midnight on the 
localhost, would something like the following work to rotate logs for each 
timezones change of day

$template 
TEST,"/var/log/logdir/%TIMESTAMP:1:4:date-rfc3339%/%TIMESTAMP:6:7:date-rfc3339%/%TIMESTAMP:9:10:date-rfc3339%/%HOSTNAME%/messages.log"

or would it cause other issues like excessive load etc or some other unforeseen 
issue. I guess it the date format gets screwed it could have some impact.

Rgds
Rodney
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to