/ Zope / Apsis / Pound Mailing List / Archive / 2004 / 2004-09 / controlling pound work

[ << ] [ >> ]

[ vhost as backend / "Alexander Meis" ... ] [ with iAnywhere ? / john.underwood(at)gmrworks.com ]

controlling pound work
Soeren Marnitz <ms(at)platinumvisions.de>
2004-09-08 11:17:21 [ FULL ]
Hi at all,

so im using for our cluster the pound program.

at time befor we have tested many other solutions for webbalancing.
i have 2 questions for this program.

first: how can i logging in another logfile
second: how can i control the work from pound

for ex. other program, i can see how many kb from which ip to which server are 
transfered.


the pound iss running on a debian

so i hope you haven an solution for me 

[...]

RE: controlling pound work
"John Snowdon" <J.P.Snowdon(at)newcastle.ac.uk>
2004-09-08 11:25:04 [ FULL ]
[...]

I start pound like this:

/usr/local/sbin/pound >>/var/log/pound.log
2>>/var/log/pound.error.log &

Normal traffic is logged in pound.log, and any errors get redirected to
pound.error.log. You'll need to compile with the 'without logfile'
option (./configure --help). Of couse you should really configure
syslogd to capture the output from pound and send it to another file
instead of the main syslog, but this is easier.
[...]

I don't quite understand your second question, so I'll leave that to
someone else...

 John Snowdon - IT Support Specialist
-==========================================-
 School of Medical Education Development 
 Faculty of Medical Sciences Computing
 University of Newcastle

Re: controlling pound work
Robert Segall <roseg(at)apsis.ch>
2004-09-08 14:43:30 [ FULL ]
On Wednesday 08 September 2004 11.17, Soeren Marnitz wrote:[...]

Depending on your system and personal preferences you can either use the 
syslog facilities (see the --with-log flag for configure) or redirect output 
into files (--without-log, very handy for daemontools/multilog usage).

The logs are standard CLF, so any log analysis (such as Webalizer or similar) 
tool will work fine, giving you all the summaries you want. Providing such 
reports is outside the scope of Pound.[...]

Re: controlling pound work
Soeren Marnitz <ms(at)platinumvisions.de>
2004-09-08 15:55:12 [ FULL ]
Am Mittwoch, 8. September 2004 11:25 schrieben Sie:

Dear John,

thanks for that tip.
but when i start pound with your line, the files will be created but they be 
empty and pound will log into syslog.

i have install the pound with debians apt-get.

the version iss 
 pound/unstable uptodate 1.7-1

i have edited the syslog.conf and the deamon restarted but it didnt works....

greetings soeren

[...]

RE: controlling pound work
"John Snowdon" <J.P.Snowdon(at)newcastle.ac.uk>
2004-09-08 16:09:38 [ FULL ]
You'll need to compile Pound from source to change where it logs to. The
Debian one is probably compiled to log into syslog.

./configure --without-log [+any other options you need]
make
make install

Then start it via that command again.

Regards

-John

 John Snowdon - IT Support Specialist
-==========================================-
 School of Medical Education Development 
 Faculty of Medical Sciences Computing
 University of Newcastle
[...][...][...][...][...][...][...]

MailBoxer