Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 1997 16:21:26 -0400
From:      "Gary Chrysler" <tcg@cguy.com>
To:        "Andrew" <andrew@key.net.au>
Cc:        <questions@freebsd.org>
Subject:   Re: -ERR Unknown command: "auth". (Solution)
Message-ID:  <199704191622.QAA02359@ramillia.cguy.com>

next in thread | raw e-mail | index | archive | help

I've cc'd -questions to get this into the archives..

On with it..

Actually popper already logs to local0.. :)
Once I found that, A little `man syslog.conf` digging and I
figured out how to re-direct it to another log and stop it from
going to /var/log/messages.
As well as gathering a fairly good grip on syslog.conf.. :)

Heres the revelent stuff from my /etc/syslog.conf: (Watch the wrap)
# /etc/syslog.conf
*.notice;kern.debug;lpr,auth.info;mail.crit;local0.none	/var/log/messages
local0.*					/var/log/popper.log


Works like a champ..
Thanks all.

-Enjoy
Gary <tcg@cguy.com>
~~~~~~~~~~~~~~~~
Improve America's Knowledge... Share yours
The Borg... Where minds meet
(207) 929-3848


----------
> From: Andrew <andrew@key.net.au>
> To: Gary Chrysler <tcg@cguy.com>
> Subject: Re: -ERR Unknown command: "auth".
> Date: Saturday, April 19, 1997 3:41 AM
> 
> On Sat, 19 Apr 1997, Gary Chrysler wrote:
> 
> > # My /etc/syslog.conf
> > *.err;kern.debug;auth.notice;mail.crit		/dev/console
> > *.notice;kern.debug;lpr,auth.info;mail.crit		/var/log/messages
> > mail.info					/var/log/maillog
> > lpr.info						/var/log/lpd-errs
> > cron.*						/var/cron/log
> > *.err						root
> > *.notice;auth.debug				root
> > *.alert						root
> > *.emerg						*
> > local7.*						/var/log/tcpd.log
> > 
> > I've tried several things without luck.. Though I must admit I really
> > don't understand syslog.. :(
> 
> Popper must log with a certain facilty an  a certaion priority...ie mail
> is the facility and err is the priority (for example). If the messages
are
> coming up on the console then it must be matched by:
> 
> 
> *.err;kern.debug;auth.notice;mail.crit
> 
> I would suggest *.err. You could recompile popper and tell it to log to
> its own facility..ie local1 and then you could seperate the messages out.
> read man syslog.conf.
> 
> Andrew
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704191622.QAA02359>