You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by shreya hegde <hs...@gmail.com> on 2021/04/13 10:04:11 UTC

Need help with tomcat access log

Hi
I have a spring boot application with embedded tomcat which provides
logging in access logs.I am using ExtendedAccessLogValve and the pattern is
c-ip date time x-P(XX)
But i want to log in below format:

client_ip:c-ip date time 'GMT' x-P(XX)

Basically want to notify the developers on the type of value and time zone
of date time getting logged.
Please help me in defining a pattern in ExtendedAccessLog.

Thanks,
Shreya