diff options
author | Olivier Lamy <olamy@apache.org> | 2012-12-20 00:03:03 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-12-20 00:03:03 +0000 |
commit | 549f795fdab5656dae592b203eab7e1df57748af (patch) | |
tree | 756a586093ffcffd95cc4806db07d96acf632b46 /archiva-docs/src/site/apt/adminguide/webapp.apt | |
parent | 95fd5712edea91d3f1096f90c71fab970017320c (diff) | |
download | archiva-549f795fdab5656dae592b203eab7e1df57748af.tar.gz archiva-549f795fdab5656dae592b203eab7e1df57748af.zip |
fix doc we use log4j2 now
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src/site/apt/adminguide/webapp.apt')
-rw-r--r-- | archiva-docs/src/site/apt/adminguide/webapp.apt | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/webapp.apt b/archiva-docs/src/site/apt/adminguide/webapp.apt index 09f389736..770a4a264 100644 --- a/archiva-docs/src/site/apt/adminguide/webapp.apt +++ b/archiva-docs/src/site/apt/adminguide/webapp.apt @@ -3,7 +3,7 @@ ------ Olivier Lamy ------ - 2011-09-29 + 2012-12-20 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -140,19 +140,20 @@ Aug 17, 2009 11:04:04 AM org.apache.coyote.http11.Http11BaseProtocol start +-----------+ One of the common causes for this <<<listenerStart Error>>> is a failure during Spring's initialization. One way to diagnose or confirm the - exact cause of the error is by adding the following configuration to the unpacked Archiva webapp's <<<WEB-INF/classes/log4j.xml>>>: + exact cause of the error is by adding the following configuration to the unpacked Archiva webapp's <<<WEB-INF/classes/log4j2.xml>>>: +-----------+ -<appender name="console" class="org.apache.log4j.ConsoleAppender"> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d [%t] %-5p %c %x - %m%n"/> - </layout> -</appender> - -<logger name="org.springframework.web"> - <level value="debug"/> - <appender-ref ref="console"/> -</logger> + <appenders> + + <Console name="console" target="SYSTEM_OUT"> + <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> + </Console> + + </appenders> + + <logger name="org.springframework.web" level="debug"> + <appender-ref ref="console"/> + </logger> +-----------+ The above configuration directs Spring's output logs to the Tomcat console and be recorded in Tomcat's log files. |