Just saw this:
If you need to customize the Click runtime logging output, please override the 
ClickServlet.createClickLogger()<file:///c:\tools\click-1.4.2\documentation\docs\click-api\net\sf\click\ClickServlet.html#createClickLogger%28%29>
 method and return a subclassed ClickLogger.

I think, the way to solve this would be passing a log4j logger to ClickLogger 
and using an overridden log method.

Muzaffer


From: Ozakca, Muzaffer [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2008 10:15 AM
To: [email protected]
Subject: Logging in 1.4.2

Hi all,

I’m still using 1.4.2 at the moment and wondering if there is a simple way to 
change logging that is currently going to console. I guess, setting the mode to 
“production” would remove most all logging messages but I’m curious if there is 
a way to send log messages to a file. Would I need to override ClickLogger?

Thanks.
Muzaffer

Reply via email to