View Single Post
  #4  
Old 22nd April 2010, 11:38
mike_p mike_p is offline
Senior Member
 
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
Default

I don't like my main system log being filled with these ftp info messages so I've edited /etc/syslog.conf and changed the line

*.info;mail.none;authpriv.none;cron.none /var/log/messages

to

*.info;mail.none;authpriv.none;cron.none;ftp.!info /var/log/messages

(then run:# /etc/init.d/syslog reload )

This prevents ftp info data being written to the log.
If I want to know what users have been logging in via ftp I just inspect the
/var/log/pureftp.log
- it shows a lot more detail! & excludes the localhost logins.

--------------------
I also want to remove the clamd "SelfCheck: Database status OK." messages so I've also added
local6.!info to the line in syslog.conf
Those messages are also in the ClamAV log which is viewable from the ISPConfig monitor page.

Now I've got a really clean system log.

Last edited by mike_p; 22nd April 2010 at 12:17. Reason: added clam info
Reply With Quote