logback - Rollover upon maxSize of file and create increasing index log file -


i'm pretty new logback , i'm trying figure out if following possible:

i create rolling policy when file size exceeds 2mb creates new log file based on increasing index number:

for example: start with:

server_01.log (creates new file when reaches 2mb) server_02.log (creates new file when reaches 2mb) server_03.log (creates new file when reaches 2mb) .. .. server_n.log  

is possible given existing appenders policies or need create custom policy?


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -