Managing Log File Size
To help you manage storage space for log files, AgilePoint Server creates a new log file when the current log file reaches the specified maximum file size, and provides an option for specifying a custom log file location. To manage your log file size, do the procedure in this topic.
Prerequisites
- AgilePoint NX OnPremises or AgilePoint NX PrivateCloud.
- Make a backup copy of the file AgilePoint.WCFService.exe.config.
How to Start
- In a text editor, open the file (AgilePoint Server installation folder) C:\Program Files\AgilePoint\AgilePoint Server\bin\Ascentn.AgilePoint.WCFService.exe.config.
Procedure
- Add one of the following keys to the <appSettings> node:
Field Name Definition LogFileFolder
- Description:
- Specifies the location for your AgilePoint Server log file.
- Allowed Values:
- An appSettings key in the following format:
<add key="LogFileFolder" value="[absolute path to your log file folder]" />
- Default Value:
- (AgilePoint Server installation folder) C:\Program Files\AgilePoint\AgilePoint Server\log
- Example:
- <add key="LogFileFolder" value="c:\Users\Log" />
MaxLogFileSize
- Description:
- Specifies the maximum file size for your log file.
- Allowed Values:
- An appSettings key in the following format:
<add key="MaxLogFileSize" value="[number of MB]" />
This value is an integer that represents log file size in MB.
- Default Value:
- 50
- Example:
- <add key="MaxLogFileSize" value="150" />
- Save the file.
- Restart the Windows service for the AgilePoint Server instance.