cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wojciech Gdela <elteh...@poczta.onet.pl>
Subject Log4j - logging request uri
Date Tue, 11 Oct 2005 09:56:56 GMT
Hello,

I've switched logging in my cocoon 2.1.7 app to log4j with the help of 
org.apache.avalon.excalibur.logger.Log4JLoggerManager in web.xml.

I would like to put request uri in my PatternLayout, is there a way to 
do it?

Now I have pattern: %d{ISO8601} %p [%c] - %m%n

And I get in my logs:
2005-10-11 11:46:26,227 ERROR [sitemap.handled-errors] - Not found

I would like something like:
2005-10-11 11:46:26,227 ERROR [sitemap.handled-errors] - (/foo/bla) Not 
found

-- 
Best regards,
Wojciech Gdela.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message