Entering content frame

Background documentation Log Manager Locate the document in its SAP Library structure

This manager configures the logging routines for the kernel. It provides properties for storing system critical logs in the database.

Dispatcher

Property

Description

Default Value

ConsoleLogs_UseSapAPI

Specifies whether system.out and system.error messages will be reallocated through the Logging API in order to be written in a file and viewed using the LogViewer. The file used is the one defined in the DefaultTraceFile_Pattern property.

YES

DatabaseLogs_Enabled

Enables or disables the storing of events in the database. This property has a Boolean value.

YES

DatabaseLogs_InitAttempts

Specifies the number of attempts that the system will make to connect to the database.

20

DatabaseLogs_AttemptsTimeout

Specifies the timeout between the attempts to connect to the database. The timeout is in seconds.

5

DatabaseLogs_DaysToKeep

Specifies the number of days one log record is kept in the database. After the specified time interval the logs are automatically deleted.

7

DatabaseLogs_Severity

Specifies the severity level, above or equal to which the logs are written in the database.

FATAL

DefaultTraceFile_Count

The maximum number of the DefaultTraceFile_Pattern files to be crated. When this number is reached, the system starts writing again in the first file.

20

DefaultTraceFile_Limit

The maximum size of the DefaultTraceFile_Pattern file in bytes.

10485760

DefaultTraceFile_Pattern

Specifies the name and location of the file where the trace messages will be written when the ConsoleLogs_UseSapAPI property is set to YES.

./log/defaultTrace.trc

ForceSingleTraceFile

When YES, all traces are written to one common trace file specified in the DefaultTraceFile_Pattern property. All other file associations towards location objects (defined in the log-configuration.xml file) are ignored.

YES

SQLTraceInitiallyEnabled

Specifies whether the SQL trace is enabled or disabled. This property has a Boolean value.

NO

SingleTraceFile_UnrestrictedLocations

Specifies a list of Java packages separated by “;” or “space”, or a combination of both, for which the effect of the ForceSingleTraceFile property is ignored. That is, you specify locations, for which it is allowed to write traces it separate files, not in one common.

 

 

Server

Property

Description

Default Value

ConsoleLogs_UseSapAPI

See above.

YES

DatabaseLogs_Enabled

See above.

YES

DatabaseLogs_InitAttempts

See above.

20

DatabaseLogs_AttemptsTimeout

See above.

5

DatabaseLogs_DaysToKeep

See above.

7

DatabaseLogs_Severity

See above.

FATAL

DefaultTraceFile_Count

See above.

20

DefaultTraceFile_Limit

See above.

10485760

DefaultTraceFile_Pattern

See above.

./log/defaultTrace.trc

ForceSingleTraceFile

See above.

YES

SQLTraceInitiallyEnabled

See above.

NO

SingleTraceFile_UnrestrictedLocations

See above.

 

 

See also:

Log Configuration in the Administration Manual

 

 

Leaving content frame