Hi Matthias, Thank you for suggesting this alternative. It has been merged.
I am glad to see that the impact on the Play framework could be fixed without too much hassle. Best regards, -- Ceki Gülcü Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch On 8/12/2023 3:16 PM, m.kurz--- via logback-user wrote: > Hi! > > Play Framework maintainer here. > >> Copying the method into the Play framework should be a relatively easy >> exercise. > > I was looking into this and I think there is a nicer approach: > DefaultJoranConfigurator contains an identical configureByResource > method: > https://github.com/qos-ch/logback/blob/v_1.4.11/logback-classic/src/main/java/ch/qos/logback/classic/util/DefaultJoranConfigurator.java#L60-L73 > > Does something speak against using that method instead of copy/pasting > and introducing duplicated code? > I came up with a pull request to "fix" commit > 4b06e062488e4cb87f22be6ae96e4d7d6350ed6b and remove the pasted method: > https://github.com/qos-ch/logback/pull/697 > > Let me know what you think. > > BTW: Please do not remove methods and/or classes anymore in a patch > release (specially if you deprecated that method only a couple of > patch release before...) > > Thanks! > > Best, > Matthias _______________________________________________ logback-user mailing list logback-user@qos.ch https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-user