Unity Log File Parameters | Teradata Unity - 17.00 - Unity Log File Parameters - Continuous Availability - Teradata Unity

Teradata® Unity™ User Guide

Product
Continuous Availability
Teradata Unity
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2020-09-15
dita:mapPath
fmz1594836948704.ditamap
dita:ditavalPath
qqk1595871525984.ditaval

The parameters 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.

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. Prefix each entry with the name of the process it affects, or keyword server, then a period.

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.

If making cluster-wide changes for a High Availability installation, make sure you also edit the unity.properties file on all servers where Unity processes reside.

Archiving an Error File

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

server.error.archivenumber=10

Setting Debug Log File to 300

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

region1_ept.log.debug.size=300