Show More
@@ -146,6 +146,7 b' class Application(SingletonConfigurable):' | |||||
146 | """ |
|
146 | """ | |
147 | log = logging.getLogger(self.__class__.__name__) |
|
147 | log = logging.getLogger(self.__class__.__name__) | |
148 | log.setLevel(self.log_level) |
|
148 | log.setLevel(self.log_level) | |
|
149 | log.propagate = False | |||
149 | _log = log # copied from Logger.hasHandlers() (new in Python 3.2) |
|
150 | _log = log # copied from Logger.hasHandlers() (new in Python 3.2) | |
150 | while _log: |
|
151 | while _log: | |
151 | if _log.handlers: |
|
152 | if _log.handlers: |
General Comments 0
You need to be logged in to leave comments.
Login now