I think the hack you are talking about is the only way to do this.
David Lang
Dear rsysloggers, I am experimenting with replacing the standard Unix logfile rotation scheme with something more useful: $template authlog,"/var/log/auth.log_%$NOW%" auth,authpriv.* ?authlog One problem with this approach is that standard tools now cannot find /var/log/auth.log anymore. The canonical way to solve this could be to maintain a symlink from /var/log/auth.log to the current /var/log/auth.log_%$NOW%. Can rsyslog maintain this symlink somehow? The only thing I found was the Shell Execute action, which would lead to a gross hack. Thanks, -- martin | http://madduck.net/ | http://two.sentenc.es/ http://www.transnationalrepublic.org/ spamtraps: [email protected]
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
_______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com
_______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

