Re: [Networker] syslog on Solaris 8
2003-01-17 10:21:52
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|