Remote messages logged in two files

General discussions here

Moderator: rgerhards

Remote messages logged in two files

Postby acim on Sun Nov 11, 2007 8:04 pm

I put these two lines in my rsyslog.conf file:

$template PerHostLogs,"/var/log/syslog/%FROMHOST%.log"
*.* -?PerHostLogs

No, messages from remote hosts are logged both in /var/log/messages and /var/log/syslog/myhostexample.log

How to stop logging to /var/log/messages and just keep logging into separate host files? I want /var/log/messages just to have messages from localhost and separate files inside /var/log/syslog to have messages from remote hosts.

Thank you in advance.
acim
New
 
Posts: 3
Joined: Sun Nov 11, 2007 7:55 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Google Ads


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron