disable logging of normal operation
Glenn.Satchell at uniq.com.au
Mon Aug 28 12:20:11 UTC 2006
You probably want to change syslog.conf to use daemon.notice. See the
syslog.conf manual page for a definition of the different levels you
can log messages at. Not sure what the exact default value is for your
platform but it might be info or debug.
The range of levels is:
emerg, alert, crit, err, warning, notice, info, debug
with emerg logging the fewest messages and debug logging the most.
Selecting a given level includes messages at any higher level, eg
'notice' will also include messages logged at warning, err, crit,
alert, and emerg.
If notice still gives too many messages, then try warning, then err, etc.
You need to restart syslogd (or kill -HUP) after changing the file.
Glenn Satchell mailto:glenn.satchell at uniq.com.au | Heard about
Uniq Advances Pty Ltd http://www.uniq.com.au | the new Unix
PO Box 70 Paddington NSW Australia 2021 | sports car?
tel:0409-458-580 tel:02-9380-6360 fax:02-9380-6416 | The rwx
>Subject: RE: disable logging of normal operation
>Date: Mon, 28 Aug 2006 14:51:09 +0300
>From: "Artzi, Yoav \(Yoav\)" <artzi at avaya.com>
>I am using GNU/Linux on an embedded PPC.
>From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
>Behalf Of Shane Kerr
>Sent: Monday, August 28, 2006 2:09 PM
>To: dhcp-users at isc.org
>Subject: Re: disable logging of normal operation
>-----BEGIN PGP SIGNED MESSAGE-----
>Artzi, Yoav (Yoav) wrote:
>> I would like to disable any logging except of errors. Meaning that I
>> don't want to hear about all normal dhcp requests and operations. Is
>> it possilbe?
>Yes, this is most easily done via syslog. The specific details of how to
>change it depend on your operating system and syslog implementation.
>What OS are you using?
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.5 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>-----END PGP SIGNATURE-----
More information about the dhcp-users