Re: Wrong extensions when rotating files using RollingRandomAccessFile with CronTriggeringPolicy

2020-02-25 Thread Ralph Goers
Whether it is a bug or not I still can’t say, but please open an issue and attach all of this information. A sample project that demonstrates the problem would be extremely helpful. We have tests and, as far as I know, none of them exhibit this behavior. Ralph > On Feb 25, 2020, at 4:12 AM, J

RE: Wrong extensions when rotating files using RollingRandomAccessFile with CronTriggeringPolicy

2020-02-25 Thread Joan ventusproxy
Hi Ralph, Is this a bug definitely? Do you want I open an issue? Thanks, Joan. -Original Message- From: Joan ventusproxy Sent: Tuesday, February 11, 2020 7:36 PM To: 'Log4J Users List' Subject: RE: Wrong extensions when rotating files using RollingRandomAccessFile with CronTriggerin

Re: How to programmatically set a rolloverStrategy?

2020-02-25 Thread astaldo1977
Ok I found out how to do that. Its just a component builder added to the AppenderBuilder: ComponentBuilder rollOverStrategy = builder.newComponent("DefaultRolloverStrategy").addAttribute("max", 5); ... mainLogBuilder .addComponent(rollOverStrategy) On 2020/02/22 16:59:16, astaldo1...@hotmail.co