Hi ,
I am trying to setup logging for an app with a new custom conf file under /etc/rsyslog.d
as below & name the file as 30-custom.conf
Quote:
$template DailyPerHostLogs, "/var/log/rsyslog/<new_folder>/%$YEAR%%$MONTH%%$DAY%-%HOSTNAME%.log
app* -?DailyPerHostLogs
& stop
|
I did restarted rsyslog.. after above change. But some how whatever logging is being written to %$YEAR%%$MONTH%%$DAY%-%HOSTNAME%.log file under /var/log/rsyslog/<new_folder>/ is also being written to /var/log/syslog.
Is there a way i can avoid it ..not to write to default /var/log/syslog?
OS: Ubuntu 14.04.5
Thanks,
drams.