Parameter: LDF1_FILE_NAME

Definition

The file path, name, and extension of the files in destination fileset #1

Description

This system parameter defines the file path, the file name, and the file extension of the files from logging destination #1. By default, the rotated log files are numbered and a sequence number is inserted between the file name and the file extension. A rotation occurs when the maximum size is reached for a destination file (see the LDF1_FILE_SIZE parameter).

Note

The rotation mechanism is not available if you customize the filename with a single generated key (see %u) or if this destination is set with only one file in the set (see the LDF1_FILESET_SIZE parameter).

Syntax

Some variables can be used to set up this parameter:

  • @INSTANCE_ID@ : The identifier of the instance in the SAP CC Core Server system (Example: updater#1, rater#2 ...)
  • @INSTANCE_TYPE@ : The type of instance of the system (Example: updater, rater ...)
  • @IP_ADDRESS@ : An IP address of the machine hosting the instance of the SAP CC Core Server system
  • @CURRENT_DATE@ : The date/time (ISO format) of the last startup of the instance of the SAP CC Core Server system
  • %h : The home directory (value of the system property: 'user.home')
  • %t : The system temporary directory (value of the system property: 'java.io.tmpdir') (Example: C:\temp\)
  • %u : A single key generated to make the file name unique. To make sure that no naming conflict will occur.

Special values:

  • / : The local file name separator
  • %% : The percentage sign
  • %g : The sequence number of the file. You can specify the location of the sequence number in the filename.

Recommendation

  • End a log file with an extension '.log' and a trace file with an extension '.trc'

Examples

  • work/log/@INSTANCE_ID@_LDF1.log and work/log/@INSTANCE_ID@_LDF2.trc
  • %t/log-%g-file.log

See Also

Detailed Information

Name LDF1_FILE_NAME

The file path, name, and extension of the files in destination fileset #1

Category Parameter
Type String
Access (RO/RW)

RW(-): Dynamic Read / Static Write

An immediate change is not possible. For a deferred and permanent change, use the set command of the Admin+ user interface to change the parameter value for a specific type of instance in the SAP CC system. A restart is needed for permanent changes.

Group(s) System: Log and Trace Settings
System Instances This system parameter is available in the following types of instances in a running SAP CC system: rater, updater, guider, bulkloader, taxer, dispatcher
Default Values (Factory Settings)
rater work/log/@INSTANCE_ID@_LDF1.log
updater work/log/@INSTANCE_ID@_LDF1.log
guider work/log/@INSTANCE_ID@_LDF1.log
bulkLoader work/log/@INSTANCE_ID@_LDF1.log
taxer work/log/@INSTANCE_ID@_LDF1.log
dispatcher work/log/@INSTANCE_ID@_LDF1.log

Additional Information

See the LDF1_ENABLED system parameter for more information.