From a45839799dbbd5f928b8634c8502b8dadfb87c6f Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 3 Sep 2013 23:31:20 +0000 Subject: [PATCH] [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 --- gramps/gen/utils/grampslocale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index f28d2ae26..28dec8066 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -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