Log4j不将日志打印到自由容器上的控制台

时间:2019-07-28 14:41:17

标签: websphere-liberty

我在Web项目大战中使用log4j将日志打印到文件以及控制台。

在为我的当地自由发动战争时,它正在按预期进行。 当我在自由容器中运行该日志时,日志将记录在文件中,而不是在控制台上。 在zip中附加log4j和server.xml。

本地的免费版本: WebSphere Application Server版本19.0.0.7 Liberty-(19.0.0.7-cl190720190711-1115) 操作系统:Windows Java:IBM JDK 8

集装箱的自由度: WebSphere Application Server 19.0.0.7/wlp-1.0.30.cl190720190711-1115 图片:registry.bluemix.net/ibm/liberty:webProfile8

log4j and server.xml files

0 个答案:

没有答案