Show More
@@ -165,7 +165,7 b' class Application(SingletonConfigurable):' | |||
|
165 | 165 | def _log_format_changed(self, name, old, new): |
|
166 | 166 | """Change the log formatter when log_format is set.""" |
|
167 | 167 | _log_handler = self.log.handlers[0] |
|
168 |
_log_formatter = LevelFormatter(new, datefmt=self. |
|
|
168 | _log_formatter = LevelFormatter(new, datefmt=self.log_datefmt) | |
|
169 | 169 | _log_handler.setFormatter(_log_formatter) |
|
170 | 170 | |
|
171 | 171 | log = Instance(logging.Logger) |
General Comments 0
You need to be logged in to leave comments.
Login now