##// END OF EJS Templates
Fix error when log_datefmt is changed
Jessica B. Hamrick -
Show More
@@ -159,7 +159,7 b' class Application(SingletonConfigurable):'
159 help="The date format used by logging formatters for %(asctime)s"
159 help="The date format used by logging formatters for %(asctime)s"
160 )
160 )
161 def _log_datefmt_changed(self, name, old, new):
161 def _log_datefmt_changed(self, name, old, new):
162 self._log_format_changed()
162 self._log_format_changed('log_format', self.log_format, self.log_format)
163
163
164 log_format = Unicode("[%(name)s]%(highlevel)s %(message)s", config=True,
164 log_format = Unicode("[%(name)s]%(highlevel)s %(message)s", config=True,
165 help="The Logging format template",
165 help="The Logging format template",
General Comments 0
You need to be logged in to leave comments. Login now