|
|
syslog.conf, how to split info messages from the others
First the why of the question. We are using a monitoring tool (Gensys)
to monitor several logfiles on a variety of systems, the hpux syslog
file being one of them. As we used the default sysconf all messages,
including the info
where routed through and noticed as a 'problem'by the monitoring tool.
So what we want is that only the warning and higger messages are
written in the syslog. That is not to difficult. But we also want the
info messages in another logfile. so we tried:
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/infolog.log
*.warning;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
I know this would mean that all messages form info and up would be
written in the infolog file and all messages warning and up will also
be written in the
syslog file. But what happens is that everything is only written in
the infolog file. The syslog file stays empty. So is there a
possibility to split up the info messages and ther higher then info
messages into 2 different files?
David Reynolds
|
|
0
|
|
|
|
Reply
|
d.reynolds (1)
|
4/27/2005 6:29:46 PM |
|
On 2005-04-27, David Reynolds <d.reynolds@hccnet.nl> wrote:
> So what we want is that only the warning and higger messages are
> written in the syslog. That is not to difficult. But we also want the
> info messages in another logfile. so we tried:
>
> mail.debug /var/adm/syslog/mail.log
> *.info;mail.none /var/adm/syslog/infolog.log
> *.warning;mail.none /var/adm/syslog/syslog.log
> *.alert /dev/console
> *.alert root
> *.emerg *
> ... But what happens is that everything is only written in
> the infolog file. The syslog file stays empty. So is there a
> possibility to split up the info messages and ther higher then info
> messages into 2 different files?
Tried "warn" instead of "warning" ?
Tried "=info" instead of "info" ?
--
Elvis Notargiacomo master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
Elections must be close. Simon Hughes MP (LibDem) (well, an assistant)
has replied to my letter from 9 months ago.
|
|
0
|
|
|
|
Reply
|
all
|
4/30/2005 5:32:52 AM
|
|
|
1 Replies
381 Views
(page loaded in 0.321 seconds)
Similiar Articles: syslog.conf, how to split info messages from the others - comp.sys ...First the why of the question. We are using a monitoring tool (Gensys) to monitor several logfiles on a variety of systems, the hpux syslog file being... empty /var/adm/messages - comp.unix.solarissyslog.conf, how to split info messages from the others - comp.sys ... The syslog file stays empty. So is there a possibility to split up the info ... split info messages ... rereading configuration file of syslog-ng - comp.unix.programmer ...syslog.conf, how to split info messages from the others - comp.sys ..... to monitor several logfiles on a variety of systems, the hpux syslog file being ... warning messages in /var/adm/messages - comp.unix.solaris ...syslog.conf, how to split info messages from the others - comp.sys ... warning messages in /var/adm/messages - comp.unix.solaris ... syslog.conf, how to split info ... Cannot change ARCHIVELOG-MODE via EM - comp.databases.oracle ...syslog.conf, how to split info messages from the others - comp.sys ... Cannot change ARCHIVELOG-MODE via EM - comp.databases.oracle ... syslog.conf, how to split info ... Syslog over TCP - comp.unix.solaris... syslog daemon such as provided by syslog-ng. There are others as ... ASA 5510 log messages %ASA-4-419002: Duplicate ... FTP server configuration on Solaris 5.7 - comp.unix ... Missing Lines in Drawings - comp.cad.solidworkssyslog.conf, how to split info messages from the others - comp.sys ... Missing Lines in Drawings - comp.cad.solidworks Corey "P." <con-sult@eng-SPAM-tran.com> wrote in ... 806 refusing to cooperate. - comp.dcom.sys.ciscoI've used the 806 to split my Insight cable ... Current configuration : 942 bytes ! version 12.2 no ... in before going on) ?????#sh log Syslog logging: enabled (0 messages ... ntpd, boot time, and hot plugging - comp.protocols.time.ntp ...Or, you could monitor syslog output, or look ... just moved, is this simply a a missing configuration? I just sent a message ... modes (which have been described by others) if ... What went wrong with the leap second - comp.protocols.time.ntp ...Some of the upstream server did the leap, others did ... disable the kernel (disable kernel) from the configuration ... forwarding syslog to remote machine, getting no ... syslog.conf, how to split info messages from the others - comp.sys ...First the why of the question. We are using a monitoring tool (Gensys) to monitor several logfiles on a variety of systems, the hpux syslog file being... rereading configuration file of syslog-ng - comp.unix.programmer ...syslog.conf, how to split info messages from the others - comp.sys ..... to monitor several logfiles on a variety of systems, the hpux syslog file being ... 7/24/2012 8:13:33 PM
|
|
|
|
|
|
|
|
|