Jim Edwards-Hewitt <jimeh <at> surety.com> writes:

> 
> In addition to standard access log messages, I'm getting a message from
> afterHandle on every access:
> 
> Jun 8, 2007 4:12:26 PM com.noelios.restlet.LogFilter afterHandle
> 
> This doesn't really provide any useful information for my application.  I 
> would
> like to disable it, but I have not been able to figure out how to control 
> these
> messages or redirect them (except by disabling access logging.) The
> documentation for LogFilter.afterHandle() only says "logs the call."
> 
> Thanks,
> 
>     -- Jim
> 
> 


Hi! 

I had this very same problem. I found a solution on the web that said the
following line would solve it:
Logger.getLogger("org.mortbay.log").setLevel(Level.OFF);
This line did disable some jetty messages, but not the afterHandle texts. After
a few hours i found a way to disable it using the restlet component
component.setLogService(new LogService(false));
And that did the trick!

Cheers

Richard         

Reply via email to