learningequality / kolibri-installer-android

Android wrapper for Kolibri.
MIT License
26 stars 22 forks source link

Tweak logging to avoid repeated logging calls. #159

Closed rtibbles closed 1 year ago

rtibbles commented 1 year ago

Fixes #156

Which appears after closer examination of the logs to just be an issue with the root logger having an additional handler added to it after Kolibri has been initialized.

Solves this by using a named logger, and holding off on logging until after Kolibri has been initialized.

rtibbles commented 1 year ago

Yes, we should probably also be adding LOG-011 but I know that will require some cleanup as we have plenty of violations!