In the last episode (Jan 14), Ricardo Pichler said:
> > I've an slackware box that your main function is be a syslog
> > server! Ok, it work, but I need to separate the log for each box
> > that I've in files with the same name of box. Can anybody help me?
> >
> > e.g.: an entry in my /var/log/messages:
> > Jan 13 18:11:49 ns500 ns500-sjc: NetScreen device_id=ns500-sjc 
> > [Root]system-notification-00018: Policy ......
>
> Sorry, my box is a FreeBSD 5.2.1.

You can use hostname specifications to filter by dns name or IP:

+ns500
*.*     /var/log/machine/ns500

You will need one of these blocks per machine, though.

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to