Microsoft
Software
Hardware
Network
Question : Logging Linux to a central syslog server
I am trying to setup my linux server to send syslog messages to a centrol syslog server. I have added the central server to the syslog.conf, however, I am only receiving cron messages. I thought I have set this up correctly so that it sent all messages of level info or higher. Can someone look at my config below and tell me why for instance, I am not getting notices of when users connect via SSH, log in etc. I thought I would recieve them with this setup? Basically, I want everything logged and sent to this central server.
# 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
*.* @192.168.40.222
Answer : Logging Linux to a central syslog server
Hi
try this out
user.* @192.168.1.1
and also see man page of "logger" command here u can get all details about facility and priorities
Random Solutions
Allowing NTP through PIX 501
Windows XP Home SP2 computer not accessible to others in network (Win 98, Win XP SP1)
SSI not working on IIS - Not a stupid question
A single PC with one physical NIC, one virtual NIC (two IP addresses)
Connecting two PC's and a cable modem via crossover cable
Home office mini switch fails. borrowed hub works fine. Why?
PING fails and NetBt4321 errors on XP Pro with Netgear FWAG114
Cisco aironet 1250 Bridge
How to..Find IP with a MAC Address
Sendmail - mail taking a long time to be delivered