[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:
John Ralls 2013-09-03 23:31:20 +00:00
parent c31b633134
commit a45839799d

View File

@ -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