This was brilliant!
Thanks, Daniel!
Best,
--
Arthur Sherman
+972-52-4878851
http://www.cpt.co.il/
> -----Original Message-----
> From: Platform Independent Linux List!
> [mailto:[log in to unmask]] On Behalf Of Daniel Franke
> Sent: Wednesday, March 07, 2007 11:51 PM
> To: [log in to unmask]
> Subject: Re: Syslog basics
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Mar 07, 2007 at 11:20:35PM +0200, Arthur Sherman wrote:
> > I need a reference to good howto on syslog levels and
> facilities, i.e.
> > local1-7.* , LOG_LOCAL etc.
> > 'man syslog' is my best friend, but this time it's a bit hazy.
> >
> > Example, in clamd.conf I set logging facility LOG_LOCAL6.
> what does this
> > mean?? How to choose?
>
> Every logging message sent to syslog has two parameters attached to
> it: a facility and a priority. The facility describes what kind of
> program is generating the message. The priority describes how
> important the message is. Your logging daemon can be configured to
> use these parameters to make decisions about where log messages
> should be routed.
>
> The standard facilities are:
>
> auth,authpriv - security (auth is deprecated in favor of authpriv)
> cron, mail, news, lpr, ftp, uucp - All hopefully self-explanatory
> daemon - Messages generated by daemons that don't fall into any
> of the above categories
> kernel - Messages forwarded from klog (equivalent to what dmesg shows)
> syslog - Messages generated internally by syslog
> user - No particular semantics. Best used if you're a
> developer working on
> a system on which you're not an administrator, so you
> can test your
> programs without annoying the admin with junk log messages.
> local0 through local7 - Programs aren't supposed to use these
> unless the
> user specifically configures them to
> do so. Their
> meaning is site-defined.
>
> And these are the priorites from lowest to highest.
> Deprecated synonyms are
> in parentheses.
>
> debug
> info
> notice
> warning (warn)
> err (error)
> crit
> alert
> emerg (panic)
>
> HTH.
>
> - --
> Daniel Franke [log in to unmask] http://www.dfranke.us
> |----| =|\ \\\\
> || * | -|-\--------- Man is free at the instant he wants to be.
> -----| =| \ /// --Voltaire
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFF7zOYKTA17JAC/eYRAvo0AKCDM/+U7xkVMDfO87jUU6j7ODVYngCgs1Hz
> zix6ro35Gu1AoY+G7CEznEc=
> =0RvB
> -----END PGP SIGNATURE-----
>
|