CONTENTS   NextPrevious  



Log Manager

Log Manager provides an easy-to-use, non-distributed system to record significant events that have occurred on the elements of the cluster. It stores messages associated with a particular manager. It runs on both dispatcher and server nodes.

Visual Administrator

Properties

 

Dispatcher

 

Property

Description

Default Value

 

 

 

NormalLogLevel

Specifies the types of log messages that have normal priority. It is a number from 0 to 7 specifying that log messages within [0,NormalLogLevel] are written in the DefaultNormalFile. For example, if NormalLogLevel is set to 4, log messages that are in [0,4] are written to the DefaultNormalFile, and the rest to the DefaultCriticalFile.

5

DefaultNormalLevel

Specifies the default value of normal log level. It is a number from 0 to 7.

 

5

DefaultNormalFile

This parameter specifies the filename to which the above messages are written.

DEFAULT.log

NormalLogFileName

This parameter specifies the filename to which the above messages are written. This file is used by the Log viewer of the system to display the messages.

DEFAULT.log

CriticalLogLevel

Specifies the types of log messages that have critical priority. It is a number from 0 to 7 specifying that log messages within [CriticalLogLevel,7] are written in the DefaultCriticalFile. It has higher priority and overrides NormalLogLevel. For example, if NormalLogLevel is set to 4 and CriticalLogLevel is set to 3, the messages in [3,7] are written to the DefaultCriticalFile, and those in [0,2] are written to the DefaultNormalFile.

3

DefaultCriticalLevel

Specifies the default value of critical log level. It is a number from 0 to 7.

3

DefaultCriticalFile

This parameter specifies the filename to which the above messages are written.

CRITICAL.log

CriticalLogFileName

Specifies the filename to which critical log messages are written.

./managers/log /CRITICAL.log

DefaultEmergencyFile

Specifies the filename to which emergency log messages are written. This file is used by the Log viewer of the system to display the messages.

EMERGENCY.log

EmergencyLogFileName

Specifies the filename to which emergency log messages are written.

./managers/log /EMERGENCY.log

DefaultAlertFile

Specifies the filename to which alert log messages are written. This file is used by the Log viewer of the system to display the messages.

ALERT.log

AlertLogFileName

Specifies the filename to which alert log messages are written.

./managers/log /ALERT.log

DefaultErrorFile

Specifies the filename to which error log messages are written. This file is used by the Log viewer of the system to display the messages.

ERROR.log

ErrorLogFileName

Specifies the filename to which error log messages are written.

./managers/log /ERROR.log

DefaultWarningFile

Specifies the filename to which warning log messages are written. This file is used by the Log viewer of the system to display the messages.

WARNING.log

WarningLogFileName

Specifies the filename to which warning log messages are written.

./managers/log /log/WARNING.log

DefaultNoticeFile

Specifies the filename to which notice log messages are written. This file is used by the Log viewer of the system to display the messages.

NOTICE.log

NoticeLogFileName

Specifies the filename to which notice log messages are written.

./managers/log /log/NOTICE.log

DefaultInfoFile

Specifies the filename to which info log messages are written. This file is used by the Log viewer of the system to display the messages.

INFO.log

InfoLogFileName

Specifies the filename to which info log messages are written.

./managers/log /log/INFO.log

DefaultDebugFile

Specifies the filename to which debug log messages are written. This file is used by the Log viewer of the system to display the messages.

DEBUG.log

DebugLogFileName

Specifies the filename to which debug log messages are written.

./managers/log /log/DEBUG.log

InitialPoolSize

Specifies the size of the internal pool of message destinations.

10

ChangePoolSizeStep

Specifies the step at which the size of the internal pool of message destinations is changed.

10

ZipExpiredFiles

Indicates whether log files are archived. It has a boolean value.

false

MaxZipFiles

Specifies the maximum number of archive files to be created.

10

DefaultMaxDelayTime

Specifies the intervals at which log files are archived in milliseconds.

2592000000

(30 days)

DefaultMaxFileLength

Specifies the maximum length of each log file (in bytes). If it is exceeded, the file is added to the archive.

 

1048576 bytes

UnicodeLog

This is a boolean flag specifying whether to write log records in UNICODE.

false

Dlog

Determines whether log messages are displayed.

false

LogDumpLevel

Specifies the level of the log type messages to be displayed. Only messages with higher priority from the level specified by this property are displayed.

3

LogFilter

Specifies the name of a service from all services registered with Log Service. This means that only log messages of the specified service are displayed. If no value is given to this property, log messages of all registered services are displayed.

 

LogLevel

This is a number from 0 to 7 that specifies the level of log messages that are written to log files. Log messages with lower priority than the level specified are ignored by the log system.

7

 

 

Server

 

Property

Description

Default Value

 

 

 

NormalLogLevel

Specifies the types of log messages that have normal priority. It is a number from 0 to 7 specifying that log messages within [0,NormalLogLevel] are written in the DefaultNormalFile. For example, if NormalLogLevel is set to 4, log messages that are in [0,4] are written to the DefaultNormalFile, and the rest to the DefaultCriticalFile.

5

DefaultNormalLevel

Specifies the default value of normal log level. It is a number from 0 to 7.

5

DefaultNormalFile

This parameter specifies the filename to which the above messages are written.

DEFAULT.log

NormalLogFileName

This parameter specifies the filename to which the above messages are written. This file is used by the Log viewer of the system to display the messages.

DEFAULT.log

DefaultCriticalLevel

Specifies the default value of critical log level. It is a number from 0 to 7.

3

CriticalLogLevel

Specifies the types of log messages that have critical priority. It is a number from 0 to 7 specifying that log messages within [CriticalLogLevel,7] are written in the DefaultCriticalFile. It has higher priority and overrides NormalLogLevel. For example, if NormalLogLevel is set to 4 and CriticalLogLevel is set to 3, the messages in [3,7] are written to the DefaultCriticalFile, and those in [0,2] are written to the DefaultNormalFile.

3

DefaultCriticalFile

This parameter specifies the filename to which the above messages are written.

CRITICAL.log

CriticalLogFileName

Specifies the filename to which critical log messages are written.

./managers/log /CRITICAL.log

DefaultEmergencyFile

Specifies the filename to which emergency log messages are written. This file is used by the Log viewer of the system to display the messages.

EMERGENCY.log

EmergencyLogFileName

Specifies the filename to which emergency log messages are written.

./managers/log /EMERGENCY.log

DefaultAlertFile

Specifies the filename to which alert log messages are written. This file is used by the Log viewer of the system to display the messages.

ALERT.log

AlertLogFileName

Specifies the filename to which alert log messages are written.

./managers/log /ALERT.log

DefaultErrorFile

Specifies the filename to which error log messages are written. This file is used by the Log viewer of the system to display the messages.

ERROR.log

ErrorLogFileName

Specifies the filename to which error log messages are written.

./managers/log /ERROR.log

DefaultWarningFile

Specifies the filename to which warning log messages are written. This file is used by the Log viewer of the system to display the messages.

WARNING.log

WarningLogFileName

Specifies the filename to which warning log messages are written.

./managers/log /log/WARNING.log

DefaultNoticeFile

Specifies the filename to which notice log messages are written. This file is used by the Log viewer of the system to display the messages.

NOTICE.log

NoticeLogFileName

Specifies the filename to which notice log messages are written.

./managers/log /log/NOTICE.log

DefaultInfoFile

Specifies the filename to which info log messages are written. This file is used by the Log viewer of the system to display the messages.

INFO.log

InfoLogFileName

Specifies the filename to which info log messages are written.

./managers/log /log/INFO.log

DefaultDebugFile

Specifies the filename to which debug log messages are written. This file is used by the Log viewer of the system to display the messages.

DEBUG.log

DebugLogFileName

Specifies the filename to which debug log messages are written.

./managers/log /log/DEBUG.log

InitialPoolSize

This property specifies the size of the internal pool of message destinations.

10

ChangePoolSizeStep

This property specifies the step at which the size of the internal pool of message destinations is changed.

10

ZipExpiredFiles

Indicates whether log files are archived. It has a boolean value.

false

MaxZipFiles

Specifies the maximum number of archive files to be created.

10

DefaultMaxDelayTime

Specifies the intervals at which log files are archived in milliseconds.

2592000000

(30 days)

DefaultMaxFileLength

Specifies the maximum length of each log file (in bytes). If it is exceeded, the file is added to the archive.

 

1048576 bytes

UnicodeLog

This is a boolean flag specifying whether to write log records in UNICODE.

false

Dlog

Determines whether log messages are displayed or not.

false

LogDumpLevel

Specifies the level of the log type messages to be displayed. Only messages with higher priority from the level specified by this property are displayed.

2

LogFilter

Specifies the name of a service from all services registered with Log Service. This means that only log messages of the specified service are displayed. If no value is given to this property, log messages of all registered services are displayed.

 

LogLevel

This is a number from 0 to 7 that specifies level of log messages that are written to log files. Log messages with lower priority than the level specified are ignored by the log system.

7

Property Files

../cluster/dispatcher/managers/settings/LogManager.properties
Log Manager properties specified in the Visual Administrator  section can be set from this property file as well.

../cluster/server/managers/settings/LogManager.properties
Log Manager properties specified in the Visual Administrator  section can be set from this property file as well.

Previous  Next