websphere 解决Linux/aix下的log4j不生效

在目录:

/IBM/WebSphere/AppServer/profiles/AppSrv01/properties

增加一个文件:可以新建txt然后另存为如下的名字

commons-logging.properties

内容为

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl

问题解决。

 

其次,最好要在应用程序服务器 > RS10Report > 进程定义 > Java 虚拟机

 

通用JDK参数配上如下

-Dclient.encoding.override=GBK -Dcom.ibm.CORBA.iiop.noLocalCopies=true -Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl -Dlog4j.logger.org.apache.component=DEBUG -Ddefault.client.encoding=GBK -Dfile.encoding=GBK -Duser.language=zh -Duser.region=CN

解决Linux/aix 下的websphere log4j不生效

 

解决Linux/aix 下的websphere log4j不生效

 

相关文章:

  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-08-21
  • 2022-01-20
  • 2022-12-23
猜你喜欢
  • 2021-08-08
  • 2022-12-23
  • 2021-08-26
  • 2021-09-26
  • 2022-02-10
  • 2022-12-23
  • 2021-09-04
相关资源
相似解决方案