CLX archive - 1998: Re: Syslog Entries

Re: Syslog Entries

Arnold Bosch -PE1IVQ- (yua@rele.tunk.net)
Thu, 3 Sep 1998 21:26:30 +0200


Hello Mike,

donderdag, 3 september 1998, You wrote:

Sims,> I have been getting mixed results re-configuring SYSLOG to put CLX
Sims,> specific messages into a logfile specific to CLX. I am running
Sims,> SLACKWARE, and have the following command line in the /etc/syslog.conf
Sims,> file:

Sims,> local0,local1,local2,local3,local4,local5,local6,local7.*
Sims,> /usr/local/clx/log/all.log

I have slackware too and use the following lines in syslog.conf

local1.err;local2.err;local3.err;local4.err;local5.err;
/usr/local/clx/log/err.log
local1.crit;local2.crit;local3.crit;local4.crit;local5.crit;
/usr/local/clx/log/crit.log
local1.info;local2.info;local3.info;local4.info;local5.info;
/usr/local/clx/log/io.log

(note these are three lines, not six)

Sims,> This is not getting all the messages though, because I continue to get
Sims,> messages directed into the /var/adm/syslog that dont go into the all.log
Sims,> file.

This is because you have not all categories redirected to a specific
CLX logfile. With the syslog.conf above you will have about 99% of the
messages from clx in those three files. There are still some
remaining log messages in /var/adm/messages mainly about starting and
stopping clx.

Sims,> Also, is it documented anywhere what messages get directed into which
Sims,> facility / priority?? I am not particularly interested in seeing the
Sims,> messages being received by CLX from users / cluster (and some others),
Sims,> but I do want to log other information.

This can be controlled the 'syslog_lev:' parameter in
/usr/local/clx/clx_par. Read the manual about this. If you are not
looking for detailed info, a parameter of '1' will do, like:

syslog_lev: 1

Sims,> Thanks in advance....

I have mixed results with changing the syslog_lev parameter on the
fly, so to be sure restart clx, to see the best result.

This all is based on what I have tested, surely there are other AND
better solutions ;-)

Sims,> 73,

Sims,> Mike
Sims,> KA9KIM

Met vriendelijke groet / With best regards

'73 Arnold Bosch (Pe1ivq)

=====================================
Mailto:fnwx.bkyoglkqfk@axelero.hu
http://www.vrza.org/pi4ede
======================================