qos-ch / logback

The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
Other
2.98k stars 1.28k forks source link

Useful method got deprecated with no replacement and no apparent reason #775

Open doublep opened 7 months ago

doublep commented 7 months ago

Method DefaultJoranConfigurator.findURLOfDefaultConfigurationFile() got deprecated in a recent patch version "with no replacement". I don't see a reason for that, including the commit that did that. Can you consider undoing the deprecation or providing a replacement at least for the case updateStatus = false?

Usecase: our application has a non-trivial and multioption way of configuring its logging, the exact option used may be different from server to server. It is useful for us to show the (path to) file used in some internal administrator page, so that server admin can easily find the file instead of finding out where it is by digging through actual metaconfiguration used on the specific machine.