Thanks Rainer That's exactly what I looked for. One more question I use templates of the form:
$template DynFileAuth,"/var/log/%HOSTNAME%/auth.log" $template DynFileSyslog,"/var/log/%HOSTNAME%/syslog" $template DynFileCron,"/var/log/%HOSTNAME%/cron.log" How can I use variables to replace the path /var/log So I can use something like: path="/var/log" $template DynFileAuth,"$path/%HOSTNAME%/auth.log" $template DynFileSyslog,"$path/%HOSTNAME%/syslog" $template DynFileCron,"$path/%HOSTNAME%/cron.log" Is the template way the only one? I think that template is expanded at runtime, isn't it? Is there a variable method that is expanded when daemon starts, for efficiency? I have nothing found in the wiki with search, no in the docu index, nor the man page of rsyslog.conf. Greetings and thanks Beat Rainer Gerhards wrote: >please see: http://wiki.rsyslog.com/index.php/FailoverSyslogServer > > > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

