From d09bfef26751865564f79f60fd6eb98b51341ef2 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 3 Sep 2013 23:18:24 +0000 Subject: [PATCH] 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 --- 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 878ecd2fc..ef726d414 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