Wojciech Gdela wrote:
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?
probably not - for LogKit there is a custom formatter implemented. I
haven't seen similar formatter for log4j.
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
--
Leszek Gawron [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]