To specify whether or not a logger is additive, use the following rhino-console command or related MBean operation.

Tip Loggers are additive by default.

Console command: setadditivity

Command

setadditivity <log-key> <additivity(true|false)>
   Set the additivity for a logger

Example

To make a logger additive:

$ ./rhino-console setadditivity rhino.foo true
Done.

MBean operation: setAdditivity

MBean

Rhino operation

void setAdditivity(String logKey, boolean additivity)
        throws ConfigurationException, ValidationException;
Previous page Next page
Rhino Version 2.5.0