I want to add line numbers (just a sequential integer that keeps incrementing on each log line) to my logback config – how do I do that? I looked through the properties available in the docs but i couldn’t see it anywhere. What am I missing?
Share
As Peter mentioned, writing a custom conversion specifier is your best option at the moment (June 2012). Here is sample code:
Please post on the logback-user mailing if you need further help.