Adjusting FileCatalyst Server Wrapper Log Size
Posted by - NA -, Last modified by Jeyram Sachchithananthan on 20 March 2018 11:18 AM

Overview

The wrapper log in the FileCatalyst Server can be configured to roll over when it hits a specific size. These options are configured through the fcconf.conf file. This article will guide you through the steps to configure the wrapper logging options.

 

Environment

FileCatalyst Server v3.4 and later.

 

Resolution

  1. Shutdown the FileCatalyst Server service or close the FileCatalyst Server standalone application.
  2. Using a text editor, open the fcconf.conf file. This file is located in the installation directory of the FileCatalyst Server.
  3. Search for the following section in the file:

    # Maximum size that the log file will be allowed to grow to before
    # the log is rolled. Size is specified in bytes. The default value
    # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
    # 'm' (mb) suffix. For example: 10m = 10 megabytes.
    wrapper.logfile.maxsize=1000m

    # Maximum number of rolled log files which will be allowed before old
    # files are deleted. The default value of 0 implies no limit.
    wrapper.logfile.maxfiles=2

  4. Change the following properties to match the limitations you would like to impose:

    wrapper.logfile.maxsize=100m
    wrapper.logfile.maxfiles=3

  5. Save the file and close the text editor.