BEA Systems, Inc.

com.bea.logging
Interface LogFileConfig

All Known Implementing Classes:
LogFileConfigImpl

Deprecated. 10.0.1.0

public interface LogFileConfig


Field Summary
static String BY_SIZE
          Deprecated. File rotation is based on the size of the file.
static String BY_TIME
          Deprecated. File rotation is based on time.
static int FILESIZE_LIMIT
          Deprecated.  
static int MAX_ROTATED_FILES
          Deprecated.  
static String NONE
          Deprecated. No file rotatin is in places
static String TIME_FORMAT
          Deprecated.  
 
Method Summary
 String getBaseLogFileName()
          Deprecated. The name of the current log file.
 String getLogFileRotationDir()
          Deprecated. The dir where the old rotated files are stored
 String getLogFileSeverity()
          Deprecated. The least important severity of messages that will be written to the log file.
 int getRotatedFileCount()
          Deprecated. If old rotated files are to be deleted, this parameter determines how many of the last files to always keep
 int getRotationSize()
          Deprecated. The size threshold at which the log file is rotated in KB.
 String getRotationTime()
          Deprecated. The time in k:mm format when the first rotation happens where k is the hour specified in 24 hour notation and mm is the minutes.
 int getRotationTimeSpan()
          Deprecated. The interval for every time based log rotation.
 long getRotationTimeSpanFactor()
          Deprecated. The factor that is applied to the timespan to arrive at the number of milliseconds that will be the frequency of time based log rotations.
 String getRotationType()
          Deprecated. Determines how the log file rotation will be performed based on size, time or not at all.
 boolean isNumberOfFilesLimited()
          Deprecated. Determines whether old rotated files need to be kept around forever
 boolean isRotateLogOnStartupEnabled()
          Deprecated. Configures whether the log file will be rotated on startup.
 void setBaseLogFileName(String logFileName)
          Deprecated.  
 void setLogFileRotationDir(String logFileRotationDir)
          Deprecated.  
 void setLogFileSeverity(String severity)
          Deprecated.  
 void setNumberOfFilesLimited(boolean isLimited)
          Deprecated.  
 void setRotatedFileCount(int fileCount)
          Deprecated.  
 void setRotateLogOnStartupEnabled(boolean rotateLogOnStartup)
          Deprecated.  
 void setRotationSize(int fileMinSize)
          Deprecated.  
 void setRotationTime(String rotationTime)
          Deprecated.  
 void setRotationTimeSpan(int timeSpan)
          Deprecated.  
 void setRotationTimeSpanFactor(long timeSpanFactor)
          Deprecated.  
 void setRotationType(String newRotationType)
          Deprecated.  
 

Field Detail

MAX_ROTATED_FILES

static final int MAX_ROTATED_FILES
Deprecated. 
See Also:
Constant Field Values

TIME_FORMAT

static final String TIME_FORMAT
Deprecated. 
See Also:
Constant Field Values

FILESIZE_LIMIT

static final int FILESIZE_LIMIT
Deprecated. 
See Also:
Constant Field Values

BY_SIZE

static final String BY_SIZE
Deprecated. 
File rotation is based on the size of the file.

See Also:
Constant Field Values

BY_TIME

static final String BY_TIME
Deprecated. 
File rotation is based on time.

See Also:
Constant Field Values

NONE

static final String NONE
Deprecated. 
No file rotatin is in places

See Also:
Constant Field Values
Method Detail

getLogFileSeverity

String getLogFileSeverity()
Deprecated. 
The least important severity of messages that will be written to the log file.

Returns:

setLogFileSeverity

void setLogFileSeverity(String severity)
Deprecated. 

getRotationTimeSpan

int getRotationTimeSpan()
Deprecated. 
The interval for every time based log rotation. The default value for this is 24.

Returns:

setRotationTimeSpan

void setRotationTimeSpan(int timeSpan)
Deprecated. 

getRotationTimeSpanFactor

long getRotationTimeSpanFactor()
Deprecated. 
The factor that is applied to the timespan to arrive at the number of milliseconds that will be the frequency of time based log rotations. The default of this attribute is 3600000

Returns:

setRotationTimeSpanFactor

void setRotationTimeSpanFactor(long timeSpanFactor)
Deprecated. 

getRotationType

String getRotationType()
Deprecated. 
Determines how the log file rotation will be performed based on size, time or not at all. Defaults to None.

Returns:

setRotationType

void setRotationType(String newRotationType)
Deprecated. 

getBaseLogFileName

String getBaseLogFileName()
Deprecated. 
The name of the current log file.

Returns:

setBaseLogFileName

void setBaseLogFileName(String logFileName)
Deprecated. 

getLogFileRotationDir

String getLogFileRotationDir()
Deprecated. 
The dir where the old rotated files are stored

Returns:

setLogFileRotationDir

void setLogFileRotationDir(String logFileRotationDir)
Deprecated. 

isRotateLogOnStartupEnabled

boolean isRotateLogOnStartupEnabled()
Deprecated. 
Configures whether the log file will be rotated on startup.

Returns:

setRotateLogOnStartupEnabled

void setRotateLogOnStartupEnabled(boolean rotateLogOnStartup)
Deprecated. 

getRotationSize

int getRotationSize()
Deprecated. 
The size threshold at which the log file is rotated in KB. The default value is 500

Returns:

setRotationSize

void setRotationSize(int fileMinSize)
Deprecated. 

isNumberOfFilesLimited

boolean isNumberOfFilesLimited()
Deprecated. 
Determines whether old rotated files need to be kept around forever

Returns:

setNumberOfFilesLimited

void setNumberOfFilesLimited(boolean isLimited)
Deprecated. 

getRotatedFileCount

int getRotatedFileCount()
Deprecated. 
If old rotated files are to be deleted, this parameter determines how many of the last files to always keep

Returns:

setRotatedFileCount

void setRotatedFileCount(int fileCount)
Deprecated. 

getRotationTime

String getRotationTime()
Deprecated. 
The time in k:mm format when the first rotation happens where k is the hour specified in 24 hour notation and mm is the minutes.

Returns:

setRotationTime

void setRotationTime(String rotationTime)
Deprecated. 

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.