Setting log file management options
Steps
- In the Content Gateway manager, go to the Configure > Subsystems > Logging > General tab.
-
In the Log Directory field, enter the path to the directory in which you want to store event log files. The default directory is
/opt/WCG/logs, a subdirectory of the Content Gateway installation directory.
Note:
The log directory you specify must already exist and must be /opt/WCG/logs or a subdirectory of it.
The user must have read/write permissions for the directory storing the log files.
-
In the Limit field of the Log Space area, enter the maximum amount of space you want to allocate to the logging directory.
When Content Gateway is on an appliance, the size is set to 5120 (5 GB) and cannot be changed.
When Content Gateway is installed on a stand-alone server, the default size is 20480 (20 GB) and the size is configurable.
Note: All files in the logging directory contribute to the space used, even if they are not log files. -
In the Headroom field, enter the tolerance for the log space limit. The default value is 100 MB.
If the Auto-Delete Rolled Files option is enabled in the Log Rolling section, autodeletion is triggered when the amount of free space available in the logging directory is less than the headroom. For information about log file rolling, see Rolling event log files.
- Click Apply.