此内容没有您所选择的语言版本。
5.5. Logging Sample Configurations
5.5.1. Sample XML Configuration for the Root Logger 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The following procedure demonstrates a sample configuration for the root logger.
Procedure 5.1. Configure the Root Logger
Set the
levelPropertyThelevelproperty sets the maximum level of log message that the root logger records.<subsystem xmlns="urn:jboss:domain:logging:1.2"> <root-logger> <level name="INFO"/>List
handlershandlersis a list of log handlers that are used by the root logger.<subsystem xmlns="urn:jboss:domain:logging:1.2"> <root-logger> <level name="INFO"/> <handlers> <handler name="CONSOLE"/> <handler name="FILE"/> </handlers> </root-logger> </subsystem>