应用程序使用commons-logging组件在was上无法打印日志?
1. 编写commons-logging.properties文件,内容如下:
#org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
2. 将commons-logging.properties文件拷贝到was的安装目录下的安装程序的server的properties目录中即可