com.sap.tc.logging

Class CreateLogfileEvent

java.lang.Object
  extended by com.sap.tc.logging.CreateLogfileEvent
All Implemented Interfaces:
Event

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

Constructor Detail

CreateLogfileEvent

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

getFileLimit

public int getFileLimit()

getFileCnt

public int getFileCnt()

getFileName

public String getFileName()
Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/ddic/ddicruntime
[sap.com] ENGINEAPI [sap.com] tc/logging
[sap.com] ENGFACADE [sap.com] tc/bl/logging/api
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.lib
[sap.com] BRMS-FACADE [sap.com] tc/brms/facade


Copyright 2010 SAP AG Complete Copyright Notice