[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Solaris - syslog prob



As far as I know this feature of Linux does not exist on Solaris (at least
on version 2.6 and 8).
Solaris seems more rigorous about its implementation of syslog: the
configuration file does not allow to divert from the standard severity level
hierarchy.

Ouriel
-- Ouriel Grynszpan Software Engineer GlobeID Tél. + 33 (0)1 56 54 19 58 Fax
+ 33 (0)1 56 54 19 19 Email: ouriel@xxxxxxxxxxx Web site : www.globeid.com
----- Original Message -----
From: "Jaidev Karanth" <jaidev@xxxxxxxxxx>
To: <linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, December 07, 2000 8:04 AM
Subject: [LIP] Solaris - syslog prob


> Hi there,
>     Sorry for asking a slightly unrelated question.
> I wanted to find out how to log only a fixed priority to a certain file.
>
> For example if the syslog.conf contains the following entries
>
> local0.debug                  /location1
> local0.notice                  /location2
> local0.err                      /location3
>
> A syslog call of priority ERR is logged in all the 3 locations.
> I wanted to find out how to log ERR only to /location3
>
> In Linux, this can be done by having the following lines in syslog.conf
>
> local0.=debug                  /location1
> local0.=notice                  /location2
> local0.=err                      /location3
>
> Thanking you in advance
> Jaidev
>
>
> ---------------------------------------------
> LIP is all for free speech.  But it was created
> for a purpose.  Violations of the rules of
> this list will result in stern action.