/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-09 / Taking advantage of Pound for logging

[ << ] [ >> ]

[ Question about HA-port / Nagy Gergely ... ] [ Redirecting based on URL / Pete DeLaurentis ... ]

Taking advantage of Pound for logging
"Kiriki Delany" <kiriki(at)streamguys.com>
2007-09-19 02:26:21 [ FULL ]
I want to use pound as the main log file for processing

 

By default, I see error logs end up in /var/log/messages

 

Is my understanding correct, that by using the SysLogFacility you can
specify other log files to be used? 

 

Can anyone provide an example configuration syntax to make a separate log
file called pound_access.log ? 

 


Thank you,

Kiriki Delany
Attachments:  
text.html text/html 3989 Bytes

Re: [Pound Mailing List] Taking advantage of Pound for logging
Russell Odom <listsignups(at)zolv.com>
2007-09-19 10:46:07 [ FULL ]
Kiriki Delany wrote:[...]

Kind of... you tell pound to log to a facility other than the default,
then you tell syslog to log that facility to a separate file.
[...]

In /etc/pound.cfg:
LogFacility	local1

In /etc/syslog.conf:
a) add a line to direct these messages to another file:
local1.*	/var/log/pound_access.log

b) prevent these messages also going to /var/log/messages - amend the
line for /var/log/messages to exclude them:
{whatever is here already};local1.!*	/var/log/messages

Hope that helps.

Russ
[...]

RE: [Pound Mailing List] Taking advantage of Pound for logging
"Kiriki Delany" <kiriki(at)streamguys.com>
2007-09-19 20:45:42 [ FULL ]
Thank you very much, that worked great. 

Thank you,
Kiriki Delany

 
-----Original Message-----
From: Russell Odom [mailto:listsignups(at)zolv.com] 
Sent: Wednesday, September 19, 2007 1:46 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Taking advantage of Pound for logging

Kiriki Delany wrote:[...]

Kind of... you tell pound to log to a facility other than the default,
then you tell syslog to log that facility to a separate file.
[...]

In /etc/pound.cfg:
LogFacility	local1

In /etc/syslog.conf:
a) add a line to direct these messages to another file:
local1.*	/var/log/pound_access.log

b) prevent these messages also going to /var/log/messages - amend the
line for /var/log/messages to exclude them:
{whatever is here already};local1.!*	/var/log/messages

Hope that helps.

Russ
[...]

MailBoxer