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:
John Ralls 2013-09-03 23:18:24 +00:00
parent 6203393960
commit d09bfef267

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