core-jgi/jboss/server/adempiere/conf/xmdesc/Log4jService-xmbean.xml

110 lines
3.7 KiB
XML
Raw Normal View History

2006-11-17 10:10:18 +07:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd" [
<!ATTLIST interceptor
proxyName CDATA #IMPLIED
>
]>
<!-- The Log4JService service XMBean
$Id: Log4jService-xmbean.xml,v 1.1 2006/04/21 17:58:45 jjanke Exp $
-->
<mbean>
<description>
This MBean allows to get and set Log4j specific options.
See also resource:log4j.xml
</description>
<class>org.jboss.logging.Log4jService</class>
<constructor>
<description>The default constructor</description>
<name>Log4jService</name>
</constructor>
&defaultAttributes;
<attribute access="read-write" getMethod="getConfigurationURL" setMethod="setConfigurationURL">
<description>The URL of the log4j.xml config file.</description>
<name>ConfigurationURL</name>
<type>java.net.URL</type>
</attribute>
<attribute access="read-write" getMethod="getCatchSystemErr" setMethod="setCatchSystemErr">
<description>Should data writen to standard error be caught and integrated into the log output.</description>
<name>CatchSystemErr</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getCatchSystemOut" setMethod="setCatchSystemOut">
<description>Should data writen to standard output be caught and integrated into the log output.</description>
<name>CatchSystemOut</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getLog4jQuietMode" setMethod="setLog4jQuietMode">
<description>Sets the log4j quite mode. For log4j 1.2.8 this must stay on true.</description>
<name>Log4jQuietMode</name>
<type>boolean</type>
</attribute>
<attribute access="read-write" getMethod="getRefreshPeriod" setMethod="setRefreshPeriod">
<description>The time in seconds between checking for new config.</description>
<name>RefreshPeriod</name>
<type>int</type>
</attribute>
<!-- Operations -->
<operation>
<description>Displays the log level of a given logger.</description>
<name>getLoggerLevel</name>
<parameter>
<description>The name of the logger to display.</description>
<name>logger</name>
<type>java.lang.String</type>
</parameter>
<return-type>java.lang.String</return-type>
</operation>
<operation>
<description>Sets the log level for a given logger.</description>
<name>setLoggerLevel</name>
<parameter>
<description>The name of the logger to set.</description>
<name>logger</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<description>The log level to set.</description>
<name>level</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Sets the levels of each logger specified by the given comma
seperated list of logger names.</description>
<name>setLoggerLevels</name>
<parameter>
<description>The list of loggers</description>
<name>loggers</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<description>The log level to set</description>
<name>level</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
<operation>
<description>Force the logging system to reconfigure.</description>
<name>reconfigure</name>
<return-type>void</return-type>
</operation>
<operation>
<description>Force the logging system to reconfigure with the given URL.</description>
<name>reconfigure</name>
<parameter>
<description>The url for the new configuration.</description>
<name>url</name>
<type>java.lang.String</type>
</parameter>
<return-type>void</return-type>
</operation>
&defaultOperations;
</mbean>