OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.75.2. Configuring Sysklogd‌

Create a new /etc/syslog.conf file by running the following:


cat > /etc/syslog.conf << "EOF"

# Begin /etc/syslog.conf


auth,authpriv.* -/var/log/auth.log

*.*;auth,authpriv.none -/var/log/sys.log daemon.* -/var/log/daemon.log

kern.* -/var/log/kern.log mail.* -/var/log/mail.log user.* -/var/log/user.log

*.emerg *


# End /etc/syslog.conf

EOF

cat > /etc/syslog.conf << "EOF"

# Begin /etc/syslog.conf


auth,authpriv.* -/var/log/auth.log

*.*;auth,authpriv.none -/var/log/sys.log daemon.* -/var/log/daemon.log

kern.* -/var/log/kern.log mail.* -/var/log/mail.log user.* -/var/log/user.log

*.emerg *


# End /etc/syslog.conf

EOF


Top OS Cloud Computing at OnWorks: