Permalink
Browse files

NEXUS-3442: Setting proper log levels on Restlet

As far as i remember, we "muted" Resltet due to
it's "access log" service.

Now the LogService is muted explicitly, while the Restlet
itself is on INFO level as it should.
  • Loading branch information...
1 parent a83bce6 commit 8f629af08ded180eb71ab280aa28f933bd44fbc3 @cstamas cstamas committed Nov 22, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 nexus/nexus-logging-extras/src/main/resources/META-INF/log/logback-nexus.xml
@@ -35,7 +35,9 @@
<logger name="org.sonatype.nexus.rest.NexusApplication" level="ERROR" />
<logger name="httpclient" level="INFO" />
<logger name="org.apache.http" level="INFO" />
- <logger name="org.restlet" level="WARN" />
+ <logger name="org.restlet" level="INFO" />
+ <!-- To mute Restlet's Access Logging LogService -->
+ <logger name="org.restlet.Component.LogService" level="WARN" />
<logger name="org.apache.commons" level="WARN" />
<logger name="org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter" level="INFO" />
<logger name="org.apache.shiro.web.filter.mgt.DefaultFilterChainManager" level="INFO"/>

0 comments on commit 8f629af

Please sign in to comment.