On Fri, 16 Sep 2005 13:47:26 +0100 Will Tatam <wtatam@premierit.com> wrote: > 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): local7.=info /var/log/pound.log local7.notice /var/log/pound.err 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 *.*;auth,authpriv,local7.none -/var/log/syslog (just look for *.something and add local7.none). Don't forget to tell syslog about the new configuration. Hope this helps some. -- Robert Segall Apsis GmbH Postfach, Uetikon am See, CH-8707 Tel: +41-44-920 4904
|
|