To set the log-filter level for a log, use the following rhino-console command or related MBean operation.

Console command: setloglevel

Command

setloglevel <log-key> <level>
    Set a loggers log level

Example

$ ./rhino-console setloglevel rhino.foo debug
Done.

MBean operation: setLogLevel

MBean

Rhino operation

public void setLogLevel(String logKey, String level)
throws ValidationException, ConfigurationException;
Previous page Next page
Rhino Version 2.5.0