Search code examples
jettyslf4jlogbackrestlet

logback-access with Restlet


I'm using logback-classic with my Restlet application (embedded Jetty), via the Restlet SLF4J bridge. For a variety of reasons we'd like our access logging to be done with logback-access, but I can't figure out how to get Restlet to behave with this package. Has anybody had success with this in the past?


Solution

  • Thierry Boileau created a great answer to this question with code included on the Restlet mailing list:

    https://groups.google.com/a/restlet.org/forum/#!msg/framework-discuss/PP_88sK8Www/b0eyzhjoAAAJ