Liberty Profile - 控制Messages.log的详细程度

时间:2015-02-02 18:57:32

标签: websphere ibm-mobilefirst websphere-liberty

我使用的是websphere liberty profile v8.5和worklight 6.2。

我们如何控制messages.log文件的详细程度?

根据documentation,有一个日志记录级别的标志,' consoleLogLevel'。然而,

  

此过滤器控制转到的邮件的粒度   console.log文件。有效值为INFO,AUDIT,WARNING,ERROR,   和OFF。默认情况下,级别为AUDIT。

console.log!= messages.log

由于messages.log像疯了似的垃圾邮件,有没有办法减少我没有看到的这种冗长?

1 个答案:

答案 0 :(得分:1)

我不知道您在该日志中看到了什么类型的消息,但您可以尝试减少设置它的信息量,例如警告:

<logging traceSpecification="*=warning"/>

您在所指的页面上还有其他级别。