sonatype/nexus — pull request #339 by cstamas (2012-03-13 13:54:33+00:00)
Title: NEXUS-4893: Make Jetty use real logger

SLF4J and it's logback "backend" (is not backend but direct implementation)
moved into bundle. But, to avoid problems already described, logging
related packages are made "server classes", classes hidden from WAR,
as Nexus deliver the same stuff, and extends those by adding custom
appender implementations.

This change does/fixes:

* the original issue, as at "server level" it is not the SrdErrLogger trivial implementation used by Jetty to log (server logs and servlet logs) but logback (with Jetty's preferred native SLF4J support).
* the Jetty -- based on that item above -- now uses Slf4j and does not break the log "layout" (there was a similar issue, as pattern Jetty's logger used was different than Nexus pattern, making logs hard to read and parse)
* logging related classes are made "server classes" to not impose any requirements against Nexus WAR, hence, Nexus WAR wrt it's dependencies it ships in /lib folder are unchanged, it's still "fully functional" (and will not log to "noop" logger).