<html><head></head><body><div class="yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;"><div dir="ltr" data-setdir="false"><div>Hello,<br><br>I am able to use the <i>FixedWindowRollingPolicy </i>along with <i>SizeBasedTriggeringPolicy </i>to achieve roll over based on defined file size (logback-1.2.3) . However I need to change the name of the file on roll-over such that instead of the index the current date and time would be used in the rolled over file name.<br><br>For example: if the current file name is<i> abcApp.log</i>, the rolled over file name should be <i>abcApp_2019-08-20_203522.log</i><br>(The roll0over would happen when the defined file size is reached based on the defined <i>SizeBasedTriggeringPolicy</i>)<br><br>Is there any way in existing rolling Policy classes that support this? I couldn't find any. Or any other way to achieve this?<br><br>If there is no support for this, I would be willing to add support by either tweaking the existing FixedWindowRollingPolicy class or creating a similar new class and supplying the same. Please let me know.<br><br>Thanks & Regards,<br>Deepak.</div><div><br></div></div></div></body></html>