[r20136]Change grampslocale logger to use __name__ instead of 'grampslocale'
Attempt to suppress 'No handler for logger grampslocale' messages by enrolling the logger in the module hierarchy. svn: r23020
This commit is contained in:
parent
c31b633134
commit
a45839799d
@ -33,7 +33,7 @@ import os
|
|||||||
import codecs
|
import codecs
|
||||||
import locale
|
import locale
|
||||||
import logging
|
import logging
|
||||||
LOG = logging.getLogger("grampslocale")
|
LOG = logging.getLogger(__name__)
|
||||||
HAVE_ICU = False
|
HAVE_ICU = False
|
||||||
_hdlr = None
|
_hdlr = None
|
||||||
# GrampsLocale initialization comes before command-line argument
|
# GrampsLocale initialization comes before command-line argument
|
||||||
|
Loading…
x
Reference in New Issue
Block a user