On Fri, 2005-09-16 at 17:36 +0200, Robert Segall wrote:
Thanks for the tip Robert but that doesn't work, on redhat distros local7 is already in use for boot.log
On Fri, 16 Sep 2005 13:47:26 +0100 Will Tatam <email@example.com>
> Can please someone post a compete syslog.conf they have setup for
> logging with pound ?
> I have only manged to always end up with everything only going to
> /var/log/messages and nothing to my /var/log/pound.log or nothing
> being logged to either
That depends pretty much on which syslog you use (Linux and Solaris are
different beasts) and how you compiled Pound.
The way we usually do it:
1. compile Pound so it uses LOCAL7 for logging:
./configure --with-log=LOG_LOCAL7 ...
compile, install, configure.
2. define where the messages for local7 should go. In /etc/syslog.conf
(assuming Linux-style syslog):
so that normal traffic goes to /var/log/pound.log and everything else
goes to /var/log/pound.err
3. make sure it goes nowhere else. For example
(just look for *.something and add local7.none).
Don't forget to tell syslog about the new configuration.
Hope this helps some.
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904
I tried --with-log=LOG_POUND but that throws
pound.c:397: `LOG_POUND' undeclared (first use in this function)