SK.gnome.dwarf.log
Class LogConstants

java.lang.Object
  extended bySK.gnome.dwarf.Constants
      extended bySK.gnome.dwarf.log.LogConstants

public class LogConstants
extends Constants

Provides the global logging constants.


Field Summary
static java.lang.String LOG_DEFAULT_DATETIME_FORMAT
          Default date-time format used for generating the log messages.
static int LOG_MAX_MESSAGE_SIZE
          The maximum size of the log message in bytes.
static int LOG_MESSAGE_REPEATING_INTERVAL
          The interval in seconds of flushing the repeated messages.
 
Fields inherited from class SK.gnome.dwarf.Constants
DEFAULT_CACHE_INTERVAL, DEFAULT_CONSOLE_TIMEOUT, DEFAULT_SHUTDOWN_TIMEOUT, LS, PLATFORM_DETAILS
 
Constructor Summary
LogConstants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_DEFAULT_DATETIME_FORMAT

public static final java.lang.String LOG_DEFAULT_DATETIME_FORMAT
Default date-time format used for generating the log messages.

Value: "yyyy-MM-dd HH:mm:ss"

See Also:
Constant Field Values

LOG_MESSAGE_REPEATING_INTERVAL

public static final int LOG_MESSAGE_REPEATING_INTERVAL
The interval in seconds of flushing the repeated messages.

Value: 60

See Also:
Constant Field Values

LOG_MAX_MESSAGE_SIZE

public static final int LOG_MAX_MESSAGE_SIZE
The maximum size of the log message in bytes.

If a log message exceeds the size specified, it should be truncated before writting to the physical log device.

Value: 1024

See Also:
Constant Field Values
Constructor Detail

LogConstants

public LogConstants()


Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.