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

How to Start

  1. In a text editor, open the file (AgilePoint Server installation folder) C:\Program Files\AgilePoint\AgilePoint Server\bin\Ascentn.AgilePoint.WCFService.exe.config.

Procedure

  1. Add one of the following keys to the <appSettings> node:
    Field NameDefinition

    LogFileFolder

    Function:
    Specifies the location for your AgilePoint Server log file.
    Accepted 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

    Function:
    Specifies the maximum file size for your log file.
    Accepted 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" />
  2. Save the file.
  3. Restart the Windows service for the AgilePoint Server instance.