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