com.sap.tc.logging
Class ReleaseLogEvent
java.lang.Object
|
+--com.sap.tc.logging.ReleaseLogEvent
- All Implemented Interfaces:
- Event
- public class ReleaseLogEvent
- extends java.lang.Object
- implements Event
This event will be fired before an existing logfile is being cleaned up and
overwritten with new messages, before OwerwriteLogfileEvent.
This can happen when:
When a filelog has been defined with rotating feature, and existing file in
the rotating sequence is overwritten by the continuous growth of messages.
Or even for a single logfile, if it already exists, for example from the previous
run of the application and has not been physically removed.
The main propose of this event is to invoke releasing / closing
a log before proceeding with an overwriting event.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReleaseLogEvent
public ReleaseLogEvent(FileLog fileLog)
getFileLog
public FileLog getFileLog()