Changing the size and number of backups of the aurora log file

An IBM OpenPages® administrator can control the maximum size of the aurora log file and how many backup files are created when the file reaches its maximum size.

About this task

The default maximum file size of the auroralogging.properties is 1024 KB. The default number of backups is 10.

Procedure

  1. Log on to the OpenPages application server.
  2. Go to <OP_HOME>/aurora/conf where <OP_HOME> is the OpenPages installation location.
    By default, <OP_HOME> is c:\IBM\OpenPages on Windows or /opt/IBM/OpenPages on Linux®.
  3. Back up the auroralogging.properties file.
  4. Open the auroralogging.properties file with a text editor.
  5. To change the maximum file size of the auroralogging.properties file, modify the appender.FILE.policies.size.size property.
    For example, to change the maximum file size to 5120 KB for all appenders, change the property to the following:
    appender.FILE.policies.size.size = 5120KB
    You can define the maximum file size for each appender using the following format:
    appender.<appender_name>.policies.size.size = <file_size>
  6. To change the number of backups of the auroralogging.properties file, modify the appender.FILE.strategy.max property.
    For example, to change the number of backups to 20 for all appenders, change the property to the following:
    appender.FILE.strategy.max = 20
    You can define the number of backups for each appender using the following format:
    appender.<appender_name>.strategy.max = <number_of_backups>