sybase.system.logger:Type=File  sybase.system.service:Name=Jaguar,Type=EAS

Chapter 13: Using Systems Management

sybase.system.log4j:Type=Notifier

Description

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.

Reviewers   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




start

Description

Starts the Log4J to JMX notification mapper.

Syntax

start(void)

Returns

void




stop

Description

Stops the Log4J to JMX notification mapper.

Syntax

stop(void)

Returns

void





Copyright © 2005. Sybase Inc. All rights reserved. sybase.system.service:Name=Jaguar,Type=EAS