Show TOC Start of Content Area

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

Use

It is a module that manages the process of logging system events. The Log Manager is part of the Java Enterprise Runtime and is the first manager to be started at system startup.

By using the Log Manager properties, you can reconfigure the default system log archiving and tracing behavior.

Activities

       1.      Start the Config Tool by double clicking the configtool script file in <SAP_install_dir>/<system_name>/<instance_name>/j2ee/configtool directory.

       2.      Choose template Managers LogManager.

 

Property

Description

Default Value

ArchiveOldLogFiles

Enables or disables archiving of log files.

If the value is set to ON, log files archiving is enabled. If the value is set to OFF, the archiving is disabled.

OFF

 

ArchivesDirectory

Defines the directory to store the log file archives.

The value of this property must be relative to the /usr/sap/<SID>/<instance name>/j2ee/cluster/server directory.

./log/archive

 

ArchivedFileNames

Defines the log files to be archived.

If no value is specified, all log files will be archived. Otherwise, only the log files, whose file names are listed in this property will be archived. The property value consists of the log file names, separated by semicolon(;).

 

ConsoleLogs_UseSapAPI

Enables or disables the Console Logs in the Logging API to use.

Specifies whether system.out and system.error messages to be reallocated through the Logging API, in order to be written in a file and viewed by the Log Viewer.

YES

ForceSingleTraceFile

Forces log destinations to write into a single trace file.

If the value is set to YES, all log locations write only in the defaultTrace.trc. If the value is NO, the logging locations are allowed to write in additional log files.

YES

SQLTraceInitiallyEnabled

Enables or disables the SQL trace at application server startup.

If the value is set to YES, the SQL trace will be enabled when the application server starts up. If the value is set to NO, the SQL trace will be disabled.

NO

SingleTraceFile_UnrestrictedLocations

It allows the user to define log locations, that do not comply with the ForceSyngleTraceFile property. These log locations will be allowed to write into other log files, except the defaultTrace.trc. The property value should consist of the logging locations full names, separated by semicolon(;)

com.sap.engine.services.httpserver.server.Smd

SpecificDestinationLogControllers

Defines log controllers, that write only in their own log locations, not in the defaultTrace.trc due to security or other reasons. The property value consists of the log controllers full names, separated by semicolon(;)

ShortDumpHeader;ShortDumpBody;SQLTraceLogger

 

 

End of Content Area