[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syslog issues...
On Mon, 4 Oct 1999, Adam Williams wrote:
> Then an entry on 192.168.1.9 like:
>
> local7.* /var/log/routers
>
You might also want to 'limit' logging to the aforementioned file by
putting restrictions within syslog.conf (otherwise the records you get
from the router might be copied to /var/log/messages and /var/log/syslog)
My syslog.conf file looks something like this:
*.=info;*.=notice;Local1.none /var/log/messages
*.err;Local1.none /var/log/syslog
Local1.* /var/log/router.log
Also, make sure to restart syslogd with the -r flag (for remote)
Good luck,
Jorge.
--
--------------------------------------------------------------------
Si nos cruzamos por la vida | Jorge Paramo http://osiris.iserv.net
no me preguntes donde voy | jorge@iserv.net
mira mis ojos y adivina |
lo que busco y lo que soy | The Iserv Co. http://www.iserv.net
------------------------------ info@iserv.net