The sybase.system.logger:Type=File MBean listens for JMX notifications, converts them to log messages, and writes them to a log file. You can also use this MBean to read and truncate the log file.
Attribute name |
Description |
Datatype |
---|---|---|
User |
A user’s login name |
String |
Password |
The user’s password |
String |
RMIAdaptor |
The name of the RMI adaptor |
String |
Adds an MBean for which to receive notifications.
addMonitoredMBean(mbean_object javax.management.ObjectName)
Name of the MBean object for which to receive notifications.
void
Retrieves the specified number of lines from the log file.
retrieveLog(lines int)
The number of lines to retrieve from the log file.
java.lang.String[]
Removes all but the specified number of lines from the log file.
truncateLog(lines int)
The number of lines to leave in the log file.
void
Copyright © 2005. Sybase Inc. All rights reserved. |