struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi <em...@encs.concordia.ca>
Subject Re: [ANN] Apache Struts 2.3.30 GA
Date Mon, 18 Jul 2016 15:37:33 GMT
> try the bridge to log4j1
> https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html
>

Updated to:
. log4j-api-2.6.2.jar
. log4j-core-2.6.2.jar
. log4j-web-2.6.2.jar
. log4j-1.2-api-2.6.2.jar
. commons-logging-1.2.jar
. struts2.5.2. jars

Didn't change web.xml and log4j.xml.

But log files were NOT auto-generated by tomcat7.0.70.

Is there something that I missed to add/config?

Thanks a lot!
-- 
web.xml
...
  <listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
...
<context-param>
       <param-name>log4jExposeWebAppRoot</param-name>
       <param-value>false</param-value>
    </context-param>

    <context-param>
       <param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/classes/log4j.xml</param-value>
    </context-param>
...



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message