  nevertheless Premium,VIP join:2002-03-08 Burlington, ON | reply to scrummie02 Re: syslog FreeBSD OpenBSD
Turf syslog and use syslog-ng. It can do a bunch of the stuff you're asking for quite simply and easily. |
|
  scrummie02 Bentley
join:2004-04-16 Arlington, VA | reply to koitsu I tried reading the man page and for some reason wasn't grasping it.
I'll give a try off your example. |
|
  koitsu Premium join:2002-07-16 Mountain View, CA
| reply to scrummie02 I really *really* hate telling fellow users to RTFM, but this is one of those things where the answers are in the manpage...
»www.freebsd.org/cgi/man.cgi?quer···mat=html
The problem is that the manpage is not "easy reading", so I'll give you an example from one of my hosts.
At the top of syslog.conf (BEFORE all of the other default directives! It's important that this is done BEFORE -- again, see the manpage for why):
+gw.home.lan *.* /var/log/gw.home.lan -gw.home.lan -- Making life hard for others since 1977. |
|
  scrummie02 Bentley
join:2004-04-16 Arlington, VA
| hello all, I'm trying to configure my freebsd server as a syslog server. I have an openbsd firewall running without a lot of diskspace, so I want to log all pflog and other entries to my syslog server, problem is I want to have the logs for the servers in their own directory, I'm having some trouble. Does anyone know of any good syslog tutorials, I've been searching and can't seem to find any. |
|