[logback-user] logback-classic 1.4.9 removes public method
Ceki Gülcü
ceki at qos.ch
Mon Aug 7 10:52:31 CEST 2023
Hi Felix,
The deprecated method in question was removed because it was preventing
the decoupling of logback initialization from JoranConfigurator. Copying
the method into the Play framework should be a relatively easy exercise.
In any case, thank you for letting us know and apologies for the
inconvenience.
Best regards,
--
Ceki Gülcü
Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch
On 8/7/2023 10:14 AM, Felix Krull via logback-user wrote:
> Hi,
>
> apparently logback-classic 1.4.9 removed the public method
> `configureByResource` from `ContextInitializer`, thereby breaking
> backwards compatibility? The method was removed in a commit [1] which
> made it into 1.4.9. It was deprecated in November of last year: I don't
> think this deprecation has ever been in a major release? Even if it had,
> I'd say it's poor form to remove deprecated things in a patch release.
>
> This breaks Play Framework [3] which uses the method for its logging
> setup, making it impossible to upgrade to this patch version.
>
> Regards, Felix
>
>
> [1]:
> https://github.com/qos-ch/logback/commit/4b06e062488e4cb87f22be6ae96e4d7d6350ed6b
>
> [2]:
> https://github.com/qos-ch/logback/commit/86f388965204df28843039f65b0bc437aff007f5
>
> [3]: https://www.playframework.com/
More information about the logback-user
mailing list