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
-
Log on to the OpenPages
application server.
-
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®.
-
Back up the auroralogging.properties file.
-
Open the auroralogging.properties file
with a text editor.
-
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>
-
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>