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: r23016
This commit is contained in:
1 parent
6203393960
commit
d09bfef267
1 file changed
+1
-1
@@ -33,7 +33,7 @@ import os
|
||||
import codecs
|
||||
import locale
|
||||
import logging
|
||||
LOG = logging.getLogger("grampslocale")
|
||||
LOG = logging.getLogger(__name__)
|
||||
HAVE_ICU = False
|
||||
_hdlr = None
|
||||
# GrampsLocale initialization comes before command-line argument
|
||||
|
||||
Reference in new issue
Block a user