You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by robert lazarski <ro...@gmail.com> on 2007/05/31 20:20:39 UTC

Apache LogFormat on tomcat with APR?

Hi all, I have a requirement to get in our logs some data - in Apache the
log format is:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
\"%{forensic-id}n\" \"%{X-ClientSide}" combined-ClientSide

How can I get that type of data into tomcat's logs? I have APR running if
that matters. Any ideas?

Robert

Re: Apache LogFormat on tomcat with APR?

Posted by robert lazarski <ro...@gmail.com>.
Exactly what I was looking for - thanks!
Robert

On 5/31/07, Filip Hanik - Dev Lists <de...@hanik.com> wrote:
>
> http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
>
> check out AccessLogValve
>
> Filip
>
> robert lazarski wrote:
> > Hi all, I have a requirement to get in our logs some data - in Apache
> the
> > log format is:
> >
> > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
> > \"%{forensic-id}n\" \"%{X-ClientSide}" combined-ClientSide
> >
> > How can I get that type of data into tomcat's logs? I have APR running
> if
> > that matters. Any ideas?
> >
> > Robert
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 5/30/2007
> 3:03 PM
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Apache LogFormat on tomcat with APR?

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html

check out AccessLogValve

Filip

robert lazarski wrote:
> Hi all, I have a requirement to get in our logs some data - in Apache the
> log format is:
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
> \"%{forensic-id}n\" \"%{X-ClientSide}" combined-ClientSide
>
> How can I get that type of data into tomcat's logs? I have APR running if
> that matters. Any ideas?
>
> Robert
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 5/30/2007 3:03 PM
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org