Hi People,
I am experiencing a weird problem with syslogd on Redhat 7 (Valhalla) ..
In my syslog.conf I have the following:
# 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;local0.none;cron.none;authpriv.none; /var/log/messages
# local0.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 *
*.alert
root
# 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
# Firewall on TestNet
<public ip address>.* /var/log/testnet
# Firewall on 2nd NET
<public ip address>.* /var/log/fw2
My problem is that only 1 log is working.. Everything from testnet and 2nd net is beeing logged in the /var/log/fw2 .. and everything else is beeing logged in the /var/log/testnet (including infos, crons, auths etc) ..
They are 2 completly different IP nets.. What makes this a bit weird, is that it dosn't matter if I have the testnet entry in syslog.conf, after I've configured the firewall to parse everything to the linux box, everything gets parsed to the same log.. If i comment out the "fw2" entry in the syslog.conf, nothing appears in the "testnet" logfile.
Have I missed something?
BR & Happy New Year,
Jens Monrad
I am experiencing a weird problem with syslogd on Redhat 7 (Valhalla) ..
In my syslog.conf I have the following:
# 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;local0.none;cron.none;authpriv.none; /var/log/messages
# local0.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 *
*.alert
root
# 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
# Firewall on TestNet
<public ip address>.* /var/log/testnet
# Firewall on 2nd NET
<public ip address>.* /var/log/fw2
My problem is that only 1 log is working.. Everything from testnet and 2nd net is beeing logged in the /var/log/fw2 .. and everything else is beeing logged in the /var/log/testnet (including infos, crons, auths etc) ..
They are 2 completly different IP nets.. What makes this a bit weird, is that it dosn't matter if I have the testnet entry in syslog.conf, after I've configured the firewall to parse everything to the linux box, everything gets parsed to the same log.. If i comment out the "fw2" entry in the syslog.conf, nothing appears in the "testnet" logfile.
Have I missed something?
BR & Happy New Year,
Jens Monrad