com.sun.identity.log
Class LogConstants

java.lang.Object
  extended bycom.sun.identity.log.LogConstants

public class LogConstants
extends java.lang.Object

Defines constants used in the Logging service. LogConstants helps in maintaining a central repository of all the constants used in the package.


Field Summary
static java.lang.String ALL_FIELDS
          Attribute defining the set of all fields being logged.
static java.lang.String BACKEND
          Attribute defining whether the logs to be stored in flat-files or to a Database.
static java.lang.String BUFFER_SIZE
          Attribute defining the Buffer size.
static java.lang.String BUFFER_TIME
          Attribute defining the Buffering time.
static java.lang.String CRLF
          Defines CarriageReturn/LineFeed characters.
static java.lang.String DATA
          The Data field.
static java.lang.String DB_DRIVER
          Attribute defining the Database Driver.
static java.lang.String DB_MEM_MAX_RECS
          Attribute defining the Maximum LogRecords held in memory if DB logging fails.
static java.lang.String DEBUG_IMPL_CLASS
          Attribute defining the Class that implements the custom debug method in the case of log failure.
static java.lang.String DOMAIN
          The Domain field.
static java.lang.String HOST_NAME
          The HostName field.
static java.lang.String IP_ADDR
          The IPAddr field.
static java.lang.String LOG_FIELDS
          Attribute defining the fields currently selected by the administrator to be logged.
static java.lang.String LOG_LEVEL
          The LogLevel field.
static java.lang.String LOG_LOCATION
          Attribute defining the location where the logs go.
static java.lang.String LOG_STATUS
          Property defining whether logging is enabled
static java.lang.String LOGGED_BY
          The LoggedBy field.
static java.lang.String LOGGING_SERVICE
          Defines the LoggingService name.
static java.lang.String LOGIN_ID
          The LoginID field.
static java.lang.String MAX_FILE_SIZE
          Attribute defining the maximum (flat) file size, above which the files are either archived or rotated.
static java.lang.String MODULE_NAME
          The ModuleName field.
static java.lang.String NUM_HISTORY_FILES
          Attribute defining the number of history files a (flat file) log should have.
static java.lang.String TIME
          The Date/Time field.
static java.lang.String TIME_BUFFERING_STATUS
          Attribute defining the Time Buffering Status; ON or OFF.
 
Constructor Summary
LogConstants()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_FILE_SIZE

public static final java.lang.String MAX_FILE_SIZE
Attribute defining the maximum (flat) file size, above which the files are either archived or rotated.

See Also:
Constant Field Values

LOG_LOCATION

public static final java.lang.String LOG_LOCATION
Attribute defining the location where the logs go.

See Also:
Constant Field Values

BACKEND

public static final java.lang.String BACKEND
Attribute defining whether the logs to be stored in flat-files or to a Database.

See Also:
Constant Field Values

DB_DRIVER

public static final java.lang.String DB_DRIVER
Attribute defining the Database Driver.

See Also:
Constant Field Values

ALL_FIELDS

public static final java.lang.String ALL_FIELDS
Attribute defining the set of all fields being logged. These fields are predefined to be time, Date, LoginID, Domain, LogLevel, Data, IPAddr, and HostName.

See Also:
Constant Field Values

LOG_FIELDS

public static final java.lang.String LOG_FIELDS
Attribute defining the fields currently selected by the administrator to be logged.

See Also:
Constant Field Values

NUM_HISTORY_FILES

public static final java.lang.String NUM_HISTORY_FILES
Attribute defining the number of history files a (flat file) log should have.

See Also:
Constant Field Values

CRLF

public static final java.lang.String CRLF
Defines CarriageReturn/LineFeed characters.

See Also:
Constant Field Values

LOGGING_SERVICE

public static final java.lang.String LOGGING_SERVICE
Defines the LoggingService name.

See Also:
Constant Field Values

DEBUG_IMPL_CLASS

public static final java.lang.String DEBUG_IMPL_CLASS
Attribute defining the Class that implements the custom debug method in the case of log failure.

See Also:
Constant Field Values

BUFFER_SIZE

public static final java.lang.String BUFFER_SIZE
Attribute defining the Buffer size.

See Also:
Constant Field Values

DB_MEM_MAX_RECS

public static final java.lang.String DB_MEM_MAX_RECS
Attribute defining the Maximum LogRecords held in memory if DB logging fails.

See Also:
Constant Field Values

BUFFER_TIME

public static final java.lang.String BUFFER_TIME
Attribute defining the Buffering time.

See Also:
Constant Field Values

TIME_BUFFERING_STATUS

public static final java.lang.String TIME_BUFFERING_STATUS
Attribute defining the Time Buffering Status; ON or OFF.

See Also:
Constant Field Values

LOG_STATUS

public static final java.lang.String LOG_STATUS
Property defining whether logging is enabled

See Also:
Constant Field Values

TIME

public static final java.lang.String TIME
The Date/Time field. This field is one of the two required in any log record.

See Also:
Constant Field Values

DATA

public static final java.lang.String DATA
The Data field. This field is one of the two required in any log record.

See Also:
Constant Field Values

LOG_LEVEL

public static final java.lang.String LOG_LEVEL
The LogLevel field. The level at which the log record was logged.

See Also:
Constant Field Values

DOMAIN

public static final java.lang.String DOMAIN
The Domain field. The AM Domain pertaining to the log record's Data field.

See Also:
Constant Field Values

LOGIN_ID

public static final java.lang.String LOGIN_ID
The LoginID field. The AM Login ID pertaining to the log record's Data field.

See Also:
Constant Field Values

IP_ADDR

public static final java.lang.String IP_ADDR
The IPAddr field. The IP Address pertaining to the log record's Data field.

See Also:
Constant Field Values

HOST_NAME

public static final java.lang.String HOST_NAME
The HostName field. The HostName pertaining to the log record's Data field.

See Also:
Constant Field Values

MODULE_NAME

public static final java.lang.String MODULE_NAME
The ModuleName field. The AM Module pertaining to the log record's Data field.

See Also:
Constant Field Values

LOGGED_BY

public static final java.lang.String LOGGED_BY
The LoggedBy field. The ID associated with who logged the record.

See Also:
Constant Field Values
Constructor Detail

LogConstants

public LogConstants()


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.