I have 2 Stations (laptop, router), which send the messages to the server named yaris.(running rsyslog).
On the server side it should generate '/var/log/yaris/syslog' '/var/log/laptop/syslog' and '/var/log/router/syslog'.
See my config
- Code: Select all
$template Dynsys,"/var/log/%HOSTNAME%/syslog"
*.*;auth,authpriv,cron,mail,local0.none -?Dynsys
But written will be sometimes the right and sometimes the wrong as you can see below.
Sorry for my bad english (i am german
The output
- Code: Select all
-1210219424: Called fprintlog, logging to builtin-file (Dynvdr)
-1210219424: Called fprintlog, logging to builtin-file (Dyndebug)
-1210219424: Removed entry 0 for file '/var/log/yaris/auth.log' from dynaCache.
-1210219424: Removed entry 1 for file '/var/log/laptop/auth.log' from dynaCache.
-1210219424: Removed entry 0 for file '/var/log/yaris/syslog' from dynaCache.
-1210219424: Removed entry 1 for file '/var/log/--/syslog' from dynaCache.
-1210219424: Removed entry 2 for file '/var/log/syslogd/syslog' from dynaCache.
-1210219424: Removed entry 0 for file '/var/log/yaris/cron.log' from dynaCache.
-1210219424: Removed entry 1 for file '/var/log/laptop/cron.log' from dynaCache.
-1210219424: Removed entry 0 for file '/var/log/--/kern.log' from dynaCache.
-1210219424: Removed entry 0 for file '/var/log/yaris/vdr/vdr.log' from dynaCache.
-1210219424: Removed entry 0 for file '/var/log/yaris/debug' from dynaCache.
-1210219424: Removed entry 0 for file '/var/log/yaris/messages' from dynaCache.
-1210219424: Removed entry 1 for file '/var/log/--/messages' from dynaCache.
-1210219424: Removed entry 2 for file '/var/log/syslogd/messages' from dynaCache.
Please help


