##// END OF EJS Templates
Merge pull request #3463 from ivanov/fix-3462...
Paul Ivanov -
r11005:eae0b3ad merge
parent child Browse files
Show More
@@ -165,7 +165,7 b' class Application(SingletonConfigurable):'
165 def _log_format_changed(self, name, old, new):
165 def _log_format_changed(self, name, old, new):
166 """Change the log formatter when log_format is set."""
166 """Change the log formatter when log_format is set."""
167 _log_handler = self.log.handlers[0]
167 _log_handler = self.log.handlers[0]
168 _log_formatter = LevelFormatter(new, datefmt=self._log_datefmt)
168 _log_formatter = LevelFormatter(new, datefmt=self.log_datefmt)
169 _log_handler.setFormatter(_log_formatter)
169 _log_handler.setFormatter(_log_formatter)
170
170
171 log = Instance(logging.Logger)
171 log = Instance(logging.Logger)
General Comments 0
You need to be logged in to leave comments. Login now