<div dir="auto">Am using logback.xml to generate logs.Trying to delete the created logfile greater than 10 ( will have 10 logs files ) and delete oldest file from server. Creating the log file for every min.<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></div><div dir="auto"><fileNamePattern>${LOGS}/archived/spring-boot-logger.%d{yyy-MM-dd_HH-mm}_%d{HHmmss,aux}.log</div><div dir="auto"></fileNamePattern></div><div dir="auto"><maxhistory>10</maxhistory></div><div dir="auto"></rolling policy></div><div dir="auto"><br></div><div dir="auto">issue : when I have this %d{HHmmss,aux} the log file are not deleting and keeps generating in the server. After I remove that command it deleting files</div></div>