Initializing help system before first use

Alternative Log Rotation Triggers

WildFly allows a rotating file handler to be defined in other ways as well. You can configure it to allow a specified number of log files to be retained that are of a specific age.

A periodic rotating file handler can be used to rotate/renew the log file at a specified frequency as defined by the <suffix> element shown below.

The following example illustrates the configuration for a daily Change log rotation:
<periodic-rotating-file-handler name="INSIGHT_DATA_CHANGE_FILE">
	<file relative-to="jboss.server.log.dir" path="insight-data-changes.log"/>
	<formatter>
		<pattern-formatter pattern="%d{HH:mm:ss,SSS} %s%E%n"/>
	</formatter>
	<suffix value=".yyyy.MM.dd"/>
	<append value="true"/>
</periodic-rotating-file-handler>
The configuration can be changed to rotate the log file hourly:
<suffix value=".yyyy.MM.dd.HH"/>

For more information about the WildFly rotating log file and other configuration options, visit https://docs.wildfly.org/21/wildscribe/subsystem/logging/periodic-size-rotating-file-handler/index.html.

© 2001-2023 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.