[logback-dev] Confusing output of RollingFileAppender

Kai Schwaiger kai.schwaiger at structr.com
Thu Dec 24 13:07:24 UTC 2015


Hi,

this might be considered a minor annoyance but I just wanted to let you know about this so it might gets fixed.

The output of RollingFileAppender is a bit confusing (second line).

13:31:45,721 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logfile-2015_12_24.request.log
13:32:48,254 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [null]

Either the second line should not be printed at all (best solution IMHO) or it should print the current filename the RollingFileAppender uses (easier solution)
In FileAppender.start() "fileName" could be replaced with "getFile()". That would be a pretty simple solution IMHO.

Thanks for considering this!

Cheers,
Kai


More information about the logback-dev mailing list