简体   繁体   English

WSO2 ESB系统日志不起作用

[英]WSO2 ESB System logs not working

Running WSO2 ESB 4.8.1. 运行WSO2 ESB 4.8.1。 When in the Management Console having a look at the System Logs, it presents me a 在管理控制台中查看系统日志时,会向我显示一个

The log must be configured to use the org.wso2.carbon.logging.core.util.MemoryAppender to view entries on the admin console

Regarding to this error I bumped on the a similar error in the Storage Server so I reconfigured the log4j properties. 关于此错误,我在存储服务器中遇到了类似的错误,因此我重新配置了log4j属性。 ( https://wso2.org/jira/browse/SS-56 ) https://wso2.org/jira/browse/SS-56

When changing the CARBON_MEMORY entry to this (as the error states) 将CARBON_MEMORY条目更改为此时(由于错误状态)

log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.core.util.MemoryAppender

I get the following error in the startup sequence of the ESB: 我在ESB的启动顺序中遇到以下错误:

log4j:ERROR Could not instantiate appender named "CARBON_MEMORY".

What now? 现在怎么办?

Thanks for your input, 感谢您的输入,

Olivier 奥利维尔

您需要按以下方式设置CARBON_MEMORY,

log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.appender.CarbonMemoryAppender

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM