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:
parent
6203393960
commit
d09bfef267
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user