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

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -