Description
The following configuration should be valid but raises an exception because the filePattern contains no date however it does contain an increment pattern.
<RollingRandomAccessFile name="File" fileName="${filename}" filePattern="logs/icap.log-%i"> <PatternLayout pattern="%m%n"/> <Policies> <OnStartupTriggeringPolicy /> <TimeBasedTriggeringPolicy interval="12" modulate="true"/> <SizeBasedTriggeringPolicy size="500 MB"/> </Policies> <DefaultRolloverStrategy fileIndex="min" max="3"/> </RollingRandomAccessFile>