action.skip

Logging/Tracing - Service Log

Use this page to configure settings for service log files. Service log files store all activity related to the service and are created in the logs subdirectory of the service's working directory. The log files are named prefixYYYYMMDD*[_*HHMMSS*].log. The time part is only included in the name when a log switch occurs and the new and old file names are the same.

Log file parameters are included below with the following_font.


Start new log on new day

Parameter: newfile_on_newday

This option makes the service create a new log file upon start up if the last log file was created on an earlier date.


Switch log daily

Parameter: logsw_on_newday

This option makes the service switch to using a new log file if the date changes while the service is running.


Switch log on size

Parameter: logsw_on_size

This option makes the service switch to using a new log file if the current log file reaches the specified size limit. If the new and old log files have the same creation date, a time stamp is included in the filename to ensure that it is identifiable.


Filename prefix

Parameter: file_name_prefix

This option specifies a string (up to 20 characters in length) that replaces the default prefix "cp" for future log files.


Maximum file size

Parameter: max_file_size

Specifies the size limit of Service log files. Enter a number with a suffix of K, M and G to indicate the unit of measure (kilobyte, megabyte, or gigabyte). When enabled, an input field will be available to enter the desired size limit.