I am a newbie and donīt unterstand the syslog_facility option:

I have a SUSE 7.3 Linux
I found a file /etc/syslog.conf
I read the man syslog and man syslog.conf

I know there is the facitlity:
auth, auth-priv,cron,daemon,kern,lpr,mail,mark,news,security,syslog,user
uusp, local0 through local7

I know there is the priority:
debug,info,notice,warning,warn,error,crit,alert,panic

I know there is the mon.conf:

syslog_facility = daemon   (default)

Or there is the parameter  -0 facility
/usr/local/mon/mon -O facility

I look at the perl code and find Hardcoded following commands:

syslog('info', "client command \"$l\"") ....  

info = priority ?!

My cgi-script with the mon-client command makes many queries (html
refresh=5);

On the remote server, there are many mon entries in the  /var/log/messages
...

e.g.
Jan 15 13:29:35 pc426 mon[20686]: client connection from 172.20.12.216:34029
Jan 15 13:29:35 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:29:35 pc426 mon[20686]: client command "list failures"
Jan 15 13:29:35 pc426 mon[20686]: client connection from 172.20.12.216:34030
Jan 15 13:29:36 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:29:36 pc426 mon[20686]: client command "list disabled"
Jan 15 13:29:36 pc426 mon[20686]: client connection from 172.20.12.216:34031
Jan 15 13:29:37 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:29:37 pc426 mon[20686]: client command "list disabled"
Jan 15 13:29:37 pc426 mon[20686]: client connection from 172.20.12.216:34032
Jan 15 13:29:38 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:29:38 pc426 mon[20686]: client command "list disabled"
Jan 15 13:34:38 pc426 mon[20686]: client connection from 172.20.12.216:34061
Jan 15 13:34:38 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:34:38 pc426 mon[20686]: client command "list failures"
Jan 15 13:34:38 pc426 mon[20686]: client connection from 172.20.12.216:34062
Jan 15 13:34:39 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:34:39 pc426 mon[20686]: client command "list disabled"
Jan 15 13:34:39 pc426 mon[20686]: client connection from 172.20.12.216:34063
Jan 15 13:34:40 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:34:40 pc426 mon[20686]: client command "list disabled"
Jan 15 13:34:40 pc426 mon[20686]: client connection from 172.20.12.216:34064
Jan 15 13:34:41 pc426 mon[20686]: client command "protid 9745"
Jan 15 13:34:41 pc426 mon[20686]: client command "list disabled"

How can I disable this many info mon messages in the /var/log/messages file
Can I use the syslog_facility for my problem ?

Please help

Thanks
Markus













Markus Lehmann
Netzwerkmanagment
PALMERS TEXTIL AG
A-2351  Wiener Neudorf
Palmersstrasse 6-8
Tel.: +43 (2236) 63 500 244
Fax.: +43 (2236) 63 533 244
@mail: [EMAIL PROTECTED]

Reply via email to