That sounds like a bug, will look into it hopefully early next week.

Thanks for reporting!

Oh: which version do you use? 5.2.0? Then you should try the recent beta 
first...

rainer

----- Ursprüngliche Nachricht -----
Von: "Ryan Lynch" <[email protected]>
An: "[email protected]" <[email protected]>
Gesendet: 28.11.09 05:46
Betreff: [rsyslog] Auto-creating directories,when using templates and the 
property      replacer.

I recently migrated a few Fedora and CentOS hosts from Rsyslog 4.x to
5.x. Several of my systems use output file path templates like this,
with multiple dynamically-named directory components:

    `template 
DefaultOutputPath,"/var/log/rsyslog/%hostname:::secpath-replace%/%syslogfacility-text:::secpath-replace%/%programname:::secpath-replace%/%$year%/%$month%/%$day%/%$hour%/%$minute%/_.log"`

Under 4.x, Rsyslog will automatically create any directories that
don't already exist, as needed. But under 5.x, it just fails silently
if any of the directories in the path don't exist.

Is there a configuration setting that governs this in 5.x, or some way
to get back the old automatic directory creation behavior?

-Ryan

Ryan B. Lynch
[email protected]
_______________________________________________
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

Reply via email to