Dear; I have an rsyslog.conf file to forward /var/log/messages file and the local log file /var/log/myfile.log to remote server. All of of the content of /var/log/messages and /var/log/myfile.log are forwarded to remote server. However; all of the content of /var/log/myfile.log file is written to /var/log/messages file. How should I stop the content of /var/log/myfile.log from writing to /var/log/messages ? The sample rsyslog.conf file looks as follow; #Text File Input Module $ModLoad imfile $ModLoad imklog $ModLoad imuxsock *.info;mail.none;authpriv.none;cron.none /var/log/messages
$InputFileName /var/log/myfile.log $InputFileTag PDA $InputFileStateFile dpush #$InputFileSeverity #$InputFileFacility $InputRunFileMonitor $InputFilePollInterval 10 _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

