View Single Post

  #15 (permalink)  
Old 12-06-2006, 03:31 AM
monk's Avatar
monk monk is offline
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Set it as follows in /etc/sysconfig/syslog and restart server, reduce -c 2 if u want:
Code:
KLOGD_OPTIONS="-x -c 3"
Now Restart
Code:
/etc/init.d/syslog restart
File /etc/syslog.conf must be as follows (or copy and paste following):
Code:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                                 /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none                /var/log/messages

# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure

# Log all the mail messages in one place.
mail.*                                                  -/var/log/maillog


# Log cron stuff
cron.*                                                  /var/log/cron

# Everybody gets emergency messages
*.emerg                                                 *

# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          /var/log/spooler

# Save boot messages also to boot.log
local7.*                                                /var/log/boot.log
Now Restart
Code:
/etc/init.d/syslog restart
Reply With Quote