Configuring log rotation
The log rotation parameters define the log level for messages, maximum log file size in megabytes (MB), and the maximum backup count of log files.
About this task
The packaged log rotation settings are set to use the propagated values from the host factory service.
A requestor instance uses these propagated values from the host factory parameters when the requestor instance does not specify the log rotation settings in its configuration files. If a requestor instance has its own local log rotation settings, then the requestor instance overrides the propagated values from the host factory.A provider instance
uses these propagated values from the host factory parameters if the
ACCEPT_PROPAGATED_LOG_SETTING parameter is set to true. Otherwise,
when the value of the ACCEPT_PROPAGATED_LOG_SETTING parameter is set to
false, the provider instance uses the log settings from the log4j.xml file available in the
configuration folder. For more information about the propagated log
settings from the log4j.xml, see the
MaxFileSize and MaxBackupIndex
parameters in the LoggerAppenderRollingFile and the Loggers references available in the Apache log4php
documentation.