Change the Log Level of Node Manager.

Posted by adejuanc on Oracle Blogs See other posts from Oracle Blogs or by adejuanc
Published on Thu, 18 Oct 2012 13:14:51 +0000 Indexed on 2012/10/18 17:12 UTC
Read the original article Hit count: 177

Filed under:

This is useful to troubleshoot issues related to Node Manager, such as problems starting a Managed Server or reasons a server could be (re)started.

To change the Log Level of Node Manager, you need to edit the nodemanager.properties file. This is usually located at:

<MIDDLEWARE_HOME>/wlserver_10.3/common/nodemanager

What you need to modify is property:

...
LogLevel=INFO
...

Information about the appropriate values for this property is available in the Node Manager Documentation at 10.3 WebLogic Documentation (and in further releases) which states:

LogLevel:

Severity level of logging used for the Node Manager log. Node Manager uses the same logging levels as WebLogic Server.

Default value: INFO

However, this is incorrect. WLS has its own implementation of LogLevel, but Node Manager uses the standard Log Level from the java.util.logging.Level class. Therefore, the possible values for Node Manager LogLevel, in descending order are:

  • SEVERE (highest value)
  • WARNING
  • INFO
  • CONFIG
  • FINE
  • FINER
  • FINEST (lowest value)

The highest value provides only messages at the severe level. The warning level provides warning messages and severe messages, and so on. Besides those levels, ALL and OFF are also accepted.

For example, if you only want Severe messages to be logged, select SEVERE. If you need the most detailed tracing available, select FINEST.

For more information on what it will log at each level, please read the Java SE API for LoggingLevel.

© Oracle Blogs or respective owner

Related posts about /Oracle