com.sap.tc.logging
Class OverwriteLogfileEvent

java.lang.Object
  |
  +--com.sap.tc.logging.OverwriteLogfileEvent
All Implemented Interfaces:
Event

public class OverwriteLogfileEvent
extends java.lang.Object
implements Event

This event will be fired when an existing logfile is being cleaned up and overwritten with new messages.
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.


Constructor Summary
OverwriteLogfileEvent(FileLog fileLog)
           
 
Method Summary
 int getFileCnt()
          Deprecated. Use .getFileLog().getCnt()
 int getFileLimit()
          Deprecated. Use .getFileLog().getLimit()
 FileLog getFileLog()
           
 java.lang.String getFileName()
          Deprecated. Use .getFileLog().getFileName()
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverwriteLogfileEvent

public OverwriteLogfileEvent(FileLog fileLog)
Method Detail

getFileLimit

public int getFileLimit()
Deprecated. Use .getFileLog().getLimit()

See Also:
#FileLog.getLimit()

getFileCnt

public int getFileCnt()
Deprecated. Use .getFileLog().getCnt()

See Also:
#FileLog.getCnt()

getFileName

public java.lang.String getFileName()
Deprecated. Use .getFileLog().getFileName()

See Also:
#FileLog.getFileName()

getFileLog

public FileLog getFileLog()