Need help in extending logging format for pen.

From: Kim McCann <>
Date: Thu, 25 Aug 2005 14:54:13 -0700

I've recently set up pen and penlogd with great results after a couple
of bumpy starts.

I have a pool of servers all writing their logs to another box running
penlogd using combined log format. I need to support a custom log
format with the virtual host requested prefixed to each log line.

So instead of writing the apache combined log format

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""

I need to write a custom log format:

LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" custom

I was hoping for some direction on modifiying the source to support this.

Any suggestions or direction would be appreciated.

Kim McCann
Received on Fri Aug 26 2005 - 04:19:28 CEST

This archive was generated by hypermail 2.2.0 : Fri Aug 26 2005 - 04:19:30 CEST