websphere6.1 and log4j
来源:互联网 发布:sns聊天软件 编辑:程序博客网 时间:2024/05/06 15:55
websphere6.1部署的程序,里面log4j配置的系统打印信息没了,在日志中只能找到自己工程打印信息,去网上找问题原因,原来是Webshpere日志使用的也是common logging,跟系统里面某些类用的log4j冲突,日志实现会被 websphere 的日志组件接管,所以这部分日志打印在tomcat 下行, websphere 下不行。网上有几个,试了都不行,可能是版本不对。最后找了方法,解决如下:
需要新增一个commons-logging.properties文件,内容为:org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl,放到/<was_home>/profiles/<profile_name>/properties/目录下,自己系统里面profile_name =AppSrv01。
查到的文章如下:
http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions
http://www-01.ibm.com/support/docview.wss?uid=swg21211020
- websphere6.1 and log4j
- WebSphere6.1 安装 部署
- websphere6.1升级
- websphere6.1安装图解
- Websphere6.1静默安装
- websphere6.1 BUG NullPointerException
- Websphere6.1---SRVE0255E
- websphere6.1安装集群
- Websphere6.1启动关闭命令
- Websphere6.1试用版无限试用
- windows 下安装websphere6.1
- Win7 下安装 Websphere6.1
- websphere6.1配置oracle数据源
- websphere6.1 配置sqlserver数据源
- MyEclipse下配置Websphere6 .1
- Websphere6.1.x不打印Log4j日志问题解决办法
- websphere6.1部署的程序启动顺序
- websphere6.1使用ehcache时报SerializationConstructorAccessorImpl ClassNotDefException
- 核潜艇分析神火股份
- 价值投资私募基金三人谈
- Vista下安装Ghost XP方法
- 如何选择钢铁股(修改版)
- Java:String和StringBuffer的区别
- websphere6.1 and log4j
- 实现调用window.close()关闭窗口时IE不提示
- 你真的很牛很厉害吗?
- C#的泛型机制
- websphere6.1部署的程序启动顺序
- ubuntu中rar及编译环境安装(ln命令介绍)
- 无奈的选择
- PHP面向对象程序设计--概述
- (由尚德)Linux系统编程学习一(第一第二讲:进程)