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