Search code examples
websphereibm-mobilefirstwebsphere-liberty

Liberty Profile - Controlling verbosity of Messages.log


I'm using websphere liberty profile v8.5 and worklight 6.2.

How do we control the verbosity of messages.log file?

According to the documentation, there is a flag for logging level, the 'consoleLogLevel'. However,

This filter controls the granularity of messages that go to the console.log file. The valid values are INFO, AUDIT, WARNING, ERROR, and OFF. By default, the level is AUDIT.

console.log != messages.log

Since messages.log is spamming like crazy, is there a way to reduce this verbosity that I'm not seeing?


Solution

  • I don't know what kind of messages you see in that log, but you could try to reduce amount of information setting it for example to warning:

    <logging traceSpecification="*=warning"/>
    

    you have also other levels on the page you are referring to.