The sybase.system.log4j:Type=Notifier MBean creates a new Log4J appender, to which Log4J messages can be written. This MBean detects Log4J messages and converts them to JMX notifications. This makes it possible to send a Log4J message that was created anywhere in the JVM, as a JMX notification. To set this up, create a suitable entry in the log4j.properties file, and specify that debug messages created in the required hierarchy are sent to the JMXAppender.
Question for reviewers: What is the syntax for an entry in log4j.properties?
Attribute name |
Description |
Datatype |
---|---|---|
MinLoggingLevel |
The minimum level at which to map Log4J messages to JMX notifications |
int |
Starts the Log4J to JMX notification mapper.
start(void)
void
Stops the Log4J to JMX notification mapper.
stop(void)
void
Copyright © 2005. Sybase Inc. All rights reserved. |