com.sap.tc.logging
Class CreateLogfileEvent

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

public class CreateLogfileEvent
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
CreateLogfileEvent(java.lang.String fileName, int limit, int cnt)
           
 
Method Summary
 int getFileCnt()
           
 int getFileLimit()
           
 java.lang.String getFileName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateLogfileEvent

public CreateLogfileEvent(java.lang.String fileName,
                          int limit,
                          int cnt)
Method Detail

getFileLimit

public int getFileLimit()

getFileCnt

public int getFileCnt()

getFileName

public java.lang.String getFileName()