> In RC1 we indeed removed the per-application access log in favor of a shared
> access log attached to the Component. This service only logs server-side
> accesses to the component (via server connectors) and writes them in an
> Apache-like format. The logger name used for this purpose it something like
> "org.restlet.Component" by default.

This is correct, in that this is the behavior that we WANT, but what I'm saying
is that it's not the behavior we're GETTING.  I currently have an Application
attached to a Component's DefaultHost on URI "" (i.e.
myComponent.getDefaultHost().attach("",myApplication) ), so all calls are going
to the Application, but no AccessLog is being generated.  

I've come up with a workaround, and THIS causes the AccessLog to be generated,
but as you said, it should be happening automatically 

accessLogFilter = new LogFilter(getContext(), getLogService());
getDefaultHost().attach("", accessLogFilter);
accessLogFilter.setNext(myApplication);


Reply via email to