Go to the table of contents Go to the previous page Go to the next page Go to the index View or print as PDF
Working With Log Files > Managing event log files
By default, Content Gateway writes all event log files in the logs directory, which is located in the directory where you installed Content Gateway. To use a different directory, see Setting log file management options.
*
If the autodelete option (discussed in Rolling event log files) is enabled, Content Gateway identifies previously rolled log files (log files with a .old extension) and starts deleting files one by one—beginning with the oldest file—until it emerges from the low state. Content Gateway logs a record of all files it deletes in the system error log.
*
If the autodelete option is disabled or there are not enough old log files to delete for the system to emerge from its low space state, Content Gateway issues a warning and continues logging until space is exhausted. Content Gateway resumes event logging when enough space becomes available for it to exit its low space state. You can make space available by removing files from the logging directory or by increasing the logging space limit.
You can run a cron script in conjunction with Content Gateway to automatically remove old log files from the logging directory (before Content Gateway enters the low space state) and relocate them to a temporary partition. Once the files are relocated, you can run log analysis scripts on them, and then you can compress the logs and move them to an archive location or delete them.
1.
Navigate to Configure > Subsystems > Logging.
2.
In the Log Directory field, enter the path to the directory in which you want to store event log files. This can be an absolute path or a path relative to the directory in which Content Gateway is installed. The default directory is logs, located in the Content Gateway installation directory.
Note 
3.
In the Limit field of the Log Space area, enter the maximum amount of space you want to allocate to the logging directory.
Note 
4.
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.
5.
Click Apply.

Go to the table of contents Go to the previous page Go to the next page Go to the index View or print as PDF
Working With Log Files > Managing event log files