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
How to configure windows 2003 server with internet access
SQL Server Hosting @ work vs hosting service
One computer cannot connect to another on network, all other computers can
Two Small Business Servers (SBS) on same network.
Tracing Hotmail emails
Some WiFi messes up my network when I return to office
How do I transfer files between laptop and desktop?
Configuring SSL for Postfix without TLS support
How to test DNS?
Problems installing Domino 7 on Redhat ES 4