On Tue, Dec 3, 2013 at 10:01 AM, Andrus Adamchik <[email protected]> wrote: > Ideally I’d love to have zero dependency on a third-party logging framework. > So that probably means using j.u.l and let the users bridge that as they > want. Wonder if we’ll make everyone’s life miserable as a result?
No, we made that horrible mistake of going with j.u.l at MyFaces a while back based in part on my lobbying for it. It is a disaster to end-users to have j.u.l as the default logging system. There's no way to bridge from j.u.l back to something else without huge performance hits, so you lose any control over what logging system your end-users can use. It's very difficult to get it to read configuration information from a file. It has horrible two-line logging output by default, which is again difficult to change. At least under weblogic app servers, you cannot identify which applications are generating which log messages, and I'm pretty sure that this is true in general for it. Really, there's nothing good you can say about it other than it might save you the 721K commons logging dependency.
