我相信用过WebSphere的童鞋都会遇到这样一个问题、项目发布后自己的log4j日志没有起作用???
这个问题我在网上找了一些资料终于得以解决、把解决办法总结了下提供给大家.
操作系统是linux
步骤如下 :
1、将写好配置的commons-logging.properties 放到
/IBM/WebSphere/AppServer/profiles/AppSrv01/properties 目录
commons-logging.properties配置文件,文件内容为:
org.apache.commons.logging.LogFactory=org.apache.commons.logging.i