Administer > Status and notifications > Server log file > Log switching > Configure log switching by the maximum log size

Configure log switching by the maximum log size

Applies to User Roles:

System Administrator

To configure log switching by the maximum log size, follow these steps:

  1. Stop the Service Manager server.
  2. Open the sm.ini file in a text editor.

    This file is in your Service Manager RUN directory.

  3. Type the following system parameter:

    System parameter Description
    maxlogsize: n For n, type the maximum log size in bytes you want Service Manager to use as the log size threshold. The default value is 5MB. Service Manager switches the log when the log size reaches the maximum size defined by this parameter.

    Caution You must have configured the numberoflogfiles parameter to enable log switching.

  4. Save your changes.
  5. Restart Service Manager.

    Service Manager uses your new log file settings.

Related reference

Startup parameter: maxlogsize