Hi all,

You can also try this:
component.getLogService().setEnabled(false);

Best regards,
Jerome


2007/12/18, Kevin Conaway <[EMAIL PROTECTED]>:
>
> Try:
>
> component.setLogService(new LogService(false));
>
> On Dec 18, 2007 10:05 AM, Takasho <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I wish to disable the access logging in the restlet framework.
> > I am deploying into a spring application on the jetty web container
> > and I will do my own logging.
> >
> > I'm using a current build from 1.1M1 trunk and I am
> > extending org.restlet.Restlet for each of my handlers.
> >
> > I have tried all the methods I have found within the mailing
> > list archive and I am still unable to stop the logging. I do
> > not wish to have to disable the logging on each handled request.
> > I want it to be disabled from the start.
> >
> > I'm sure the framework has some global access to its default logger
> > but I am at a loss on how to get to it.
> >
> > Thanks,
> >
> > Takasho
> >
> >
> >
>

Reply via email to