From eae0b3ada8b589291cd2b3a86a3c0577a668604c 2013-06-26 21:56:18 From: Paul Ivanov Date: 2013-06-26 21:56:18 Subject: [PATCH] Merge pull request #3463 from ivanov/fix-3462 fix typo, closes #3462 Thanks to github user @gaulinmp for submitting a bug report and the suggested fix. --- diff --git a/IPython/config/application.py b/IPython/config/application.py index 32bde86..4a2923e 100644 --- a/IPython/config/application.py +++ b/IPython/config/application.py @@ -165,7 +165,7 @@ class Application(SingletonConfigurable): def _log_format_changed(self, name, old, new): """Change the log formatter when log_format is set.""" _log_handler = self.log.handlers[0] - _log_formatter = LevelFormatter(new, datefmt=self._log_datefmt) + _log_formatter = LevelFormatter(new, datefmt=self.log_datefmt) _log_handler.setFormatter(_log_formatter) log = Instance(logging.Logger)