JMX MBean View

647c07faf5bd

Wed Apr 24 23:37:57 UTC 2024
 
NameDomainjboss.system
serviceLogging
typeLog4jService
Java Classorg.jboss.mx.modelmbean.XMBean
DescriptionThis MBean allows to get and set Log4j specific options. See also resource:log4j.xml

Attribute Name Access Type Description Attribute Value
Name R java.lang.String The class name of the MBean
Log4jService    
State R int The status of the MBean
3    
StateString R java.lang.String The status of the MBean in text form
Started    
ConfigurationURL RW java.net.URL The URL of the log4j.xml config file.
    
CatchSystemErr RW boolean Should data writen to standard error be caught and integrated into the log output.
TrueFalse    
CatchSystemOut RW boolean Should data writen to standard output be caught and integrated into the log output.
TrueFalse    
Log4jQuietMode RW boolean Sets the log4j quite mode. For log4j 1.2.8 this must stay on true.
TrueFalse    
RefreshPeriod RW int The time in seconds between checking for new config.
    
DefaultJBossServerLogThreshold RW java.lang.String The value to assign to system property jboss.server.log.threshold if it is not already set. This system property in turn controls the logging threshold for the server.log file.
    


Operation Return Type Description Parameters
getLoggerLevel java.lang.String Displays the log level of a given logger.
logger java.lang.String The name of the logger to display.
setLoggerLevel void Sets the log level for a given logger.
logger java.lang.String The name of the logger to set.
level java.lang.String The log level to set.
setLoggerLevels void Sets the levels of each logger specified by the given comma seperated list of logger names.
loggers java.lang.String The list of loggers
level java.lang.String The log level to set
reconfigure void Force the logging system to reconfigure.
[no parameters]
reconfigure void Force the logging system to reconfigure with the given URL.
url java.lang.String The url for the new configuration.
create void Standard MBean lifecycle method
[no parameters]
start void The start lifecycle operation
[no parameters]
stop void The stop lifecycle operation
[no parameters]
destroy void The destroy lifecycle operation
[no parameters]
jbossInternalLifecycle void The detyped lifecycle operation (for internal use only)
method java.lang.String The lifecycle operation