[rsyslog] case sensitivity in templates
Joe Williams
joe at joetify.com
Thu Sep 3 05:11:28 CEST 2009
Hello, I am new to the list sorry if this has been covered already. I
am logging using a per-host template like:
$template
PerHostDebug,"/srv/rsyslog/%$YEAR%/%$MONTH%/%$DAY%/%HOSTNAME%/debug"
The services that log directly to the rsyslog server (haproxy, etc) are
using all lower case hostname directories where as the logs that use
the rsyslog client daemon to log to the server are using the case
specified in the hostname which in my case have capital letters in them.
Is there any way to specify which to use? I would like to have a single
directory for each host regardless of the case used in the hostname. It
doesn't matter to me which case is used as long as it's the same for
all logs.
Thanks.
-Joe
--
Name: Joseph A. Williams
Email: joe at joetify.com
Blog: http://www.joeandmotorboat.com/
More information about the rsyslog
mailing list