Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface LogRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean
All Known Subinterfaces:
ConnectorConnectionPoolRuntimeMBean, ServerLogRuntimeMBean

public interface LogRuntimeMBean
extends RuntimeMBean

This interface defines the control operations for a log in the WebLogic Server.


Method Summary
 void ensureLogOpened()
          Ensures that that the output stream to the underlying is opened if it got closed previously due to errors.
 void flushLog()
          Flushes the buffer to the log file on disk.
 void forceLogRotation()
          Forces the rotation of the underlying log immediately.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

forceLogRotation

void forceLogRotation()
                      throws ManagementException
Forces the rotation of the underlying log immediately.

Throws:
ManagementException - If there is an error during the log file rotation.

ensureLogOpened

void ensureLogOpened()
                     throws ManagementException
Ensures that that the output stream to the underlying is opened if it got closed previously due to errors.

Throws:
ManagementException - If the log could not be opened successfully.

flushLog

void flushLog()
              throws ManagementException
Flushes the buffer to the log file on disk.

Throws:
ManagementException - If the log could not be flushed successfully.

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02