Good morning,
I don't know if a missed answer is that you are thinking about the solution, or
that the solution does not exist?
On 2020/05/28 11:36:02, EDMONDO SENA <edse...@gmail.com> wrote:
>
> Hi Everybody,
>
> I've the following file propertes for Log4j2:
>
> appender.A1.type = RollingFile
> appender.A1.name = A1
> appender.A1.fileName = Upgrade.log
> appender.A1.append = true
> appender.A1.filePattern = Upgrade.log.%i
> appender.A1.layout.type = PatternLayout
> appender.A1.layout.pattern = %d %-5p %3x - %m - %l %n
> appender.A1.policies.type = Policies
> appender.A1.policies.size.type = SizeBasedTriggeringPolicy
> appender.A1.policies.size.size = 1KB
> appender.A1.strategy.type = DefaultRolloverStrategy
> appender.A1.strategy.max = 0
> appender.A1.strategy.fileIndex = 1
>
> but when the application was launched the following error is shown:
> main ERROR Maximum window size must be greater than the minimum windows size.
> Set to 7
>
> Obviously if the max variable is set to 1 no problem.
> Is possible to have no Rolling file using DefaultRolloverStrategy without
> this error?
>
> Thanks in advance.
> Kind regards.
>
> //Edmondo.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org