freerange icon indicating copy to clipboard operation
freerange copied to clipboard

Ensure a defaut logger is set before using glogi

Open kommen opened this issue 4 years ago • 2 comments

This should prevent Failure: Root logger has no level set. errors when logs are produced, e.g. while registering default handlers when loading the namespace.

This assumes a consumer of freerange then sets their own default log level anyway if they also use glogi, so my understanding is this shouldn't impact consumers.

kommen avatar Oct 01 '21 08:10 kommen

I think it actually makes sense to do this in Glögi directly, as you say consumers can always set their own level but then logging at least works out of the box.

I wonder if this is another Closure library change, I'm not sure I've seen that error before.

plexus avatar Oct 01 '21 15:10 plexus

Released in Glögi 1.0.136

plexus avatar Oct 04 '21 06:10 plexus