16.10 - Unity Log File Parameters - Teradata Unity

Teradata Unity User Guide

Product
Teradata Unity
Release Number
16.10
Published
January 2018
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
anz1496162519675.ditamap
dita:ditavalPath
ft:empty

Log file parameters control the path location, size, and attributes of log files. The table below lists the parameters that control the path location, size and attributes for the Unity log files. These parameters are listed in the unity.properties file, located in the /etc/opt/teradata/config directory. The type value can be error, debug, or audit.

Changing the properties file only affects processes on the same physical server as the properties file. The changes are not dynamic. You must restart local processes for changes to take effect.

Parameter Description
log.type.size Size of all Unity log files in megabytes. The default file size is 100 MB.
log.type.archivenumber By default, Unity uses five rotating logs of fixed length. When the current log file is full, the current file moves to a .0 extension, and any existing archive log files increment by one. This value specifies the number of archived log files. For example, if this value is set to 10, Unity archives 10 older log files of the type specified.
log.type.worldreadable If set to true, log files are readable by all Linux users. If set to false (default), log files are only readable by the Linux user who created the files.

The server keyword marks the entry as affecting all local processes. Each entry must be prefixed with the name of the process it affects, or keyword server, followed by a period.

Changes made to the unity.properties file only affect processes started on the physical server where the properties file is located. If making cluster-wide changes for a High Availability installation, ensure that you also edit the unity.properties file on all servers where Unity processes reside.

Examples

The following example demonstrates how to set the archive number of the error file to 10 for all processes:

server.error.archivenumber=10

This sets the size of the region1_ept debug log file to 300.

region1_ept.log.debug.size=300