I was a happy user of restlet 2.0.15 until yesterday, when they seem to have discontinued the 2.0.x versions from their Maven repository, so I had to upgrade to 2.1.1.
In the old version I was using SLF4J as a bridge to Log4J and I was able to get the restlet logs to my Log4J based logging system. This is no longer working with restlet 2.1.1. Any ideas what I would need to fix?
This is the way it was working:
public static void initLogging() {
// install the SL4J bridge such as the org.restlet logging messages to
// be appended to Log4J too, from the default java.util.logging based
// implementation
SLF4JBridgeHandler.install();
...
if (log4j != null) {
DOMConfigurator.configure(log4j);
}
log = Logger.getLogger(SomeClass.class);
}