Networker

Re: [Networker] syslog on Solaris 8

2003-01-17 10:21:52
Subject: Re: [Networker] syslog on Solaris 8
From: Jose Marcio Martins da Cruz <Jose-Marcio.Martins AT ENSMP DOT FR>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 17 Jan 2003 16:21:43 +0100
Lee Hwan Meng wrote:
>
> Hi

Hi !

>
> I am trying to re-direct all Networker logs to file /var/adm/networker by
> changing facility used by Networker to local6.notice
>
> I have modified my /etc/syslog.conf as below and restarted it.
>
> I did a logger test but local6.* messages are still being written
> to /var/adm/messages.
>
> Have I done something wrong here...
>
> usin05:/var/adm> logger -p local6.alert "onl a test"
>
> usin05:/var/adm> tail networker
> ...
> Jan 16 03:53:54 usin05 hwanlee: [ID 702911 local6.alert] onl a test
>

You should modify your syslog.conf as below :

> *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages

*.err;kern.debug;daemon.notice;mail.crit;local6.none
/var/adm/messages


> *.alert;kern.err;daemon.err                     operator
> *.alert                                         root
> *.emerg                                         *

--
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole Nationale Superieure des Mines de Paris
 Centre de Calcul                      http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      mailto:Jose-Marcio.Martins AT ensmp DOT fr
 ---------------------------------------------------------------

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>