Skip to content

Commit 43f430c

Browse files
author
Ralf Schlatterbeck
committed
- No longer use the root logger, use a logger with prefix "roundup"...
...see http://thread.gmane.org/gmane.comp.bug-tracking.roundup.devel/5356
1 parent 7277bea commit 43f430c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Fixed:
1717

1818
- fixed reporting of source missing warnings
1919
- fix for incorrect except: syntax, issue2550661 (thanks Jakub Wilk)
20+
- No longer use the root logger, use a logger with prefix "roundup",
21+
see http://thread.gmane.org/gmane.comp.bug-tracking.roundup.devel/5356
2022

2123

2224
2010-07-12 1.4.15

roundup/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,8 +1290,8 @@ def init_logging(self):
12901290
return
12911291

12921292
_file = self["LOGGING_FILENAME"]
1293-
# set file & level on the root logger
1294-
logger = logging.getLogger()
1293+
# set file & level on the roundup logger
1294+
logger = logging.getLogger('roundup')
12951295
if _file:
12961296
hdlr = logging.FileHandler(_file)
12971297
else:

0 commit comments

Comments
 (0)