Setting the log levels using JMX console

The logger level defines the logging output. By default, INFO is set as the log level. All the Java-related logs are captured in the origin.log file. You can change the log level using the JMX admin console.

Following are the various logger level that you can set using java.util.logging class:

  • Level .SEVERE (highest value)
  • Level .WARNING
  • Level .INFO
  • Level .CONFIG
  • Level .FINE
  • Level .FINER
  • Level .FINEST (lowest value)
For more information on logger levels, see java.util.logging class.
  1. Query using JMX to the LoggerNames attribute found on the java.util.logging mbean. Identify the stream for which you want to modify the log level. For example, com.adobe.fms.StreamContainer.default.Stream.default.
  2. Call setLoggerLevel on the java.util.logging mbean with the logger name identified, and specify which log level you want to set.
  3. Call setLoggerLevel as shown below to set the logger level to FINEST : setLoggerLevel("com.adobe.fms.StreamContainer.default.Stream.default", Level.FINEST).

    Each individual stream should log to its own particular log file. The log file rolls over based upon the settings of the FileHandler in logging.properties.