[core] Minor fixes
This commit is contained in:
parent
7cb31bf60e
commit
48933cdf5f
|
@ -68,6 +68,8 @@ def configure_app(app, test_config=None):
|
|||
global config
|
||||
read_configuration(test_config)
|
||||
|
||||
configure_logger()
|
||||
|
||||
# Always enable this builtin plugins!
|
||||
update_dict(
|
||||
config,
|
||||
|
|
|
@ -6,7 +6,7 @@ disable_existing_loggers = false
|
|||
|
||||
[formatters]
|
||||
[formatters.simple]
|
||||
format = "%(asctime)s - %(name)s (%(levelname)s) - %(message)s"
|
||||
format = "%(asctime)s - %(levelname)s - %(message)s"
|
||||
[formatters.extended]
|
||||
format = "%(asctime)s — %(filename)s - %(funcName)s - %(lineno)d - %(threadName)s - %(name)s — %(levelname)s — %(message)s"
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ class UtcDateTime(TypeDecorator):
|
|||
aware value, even with SQLite or MySQL.
|
||||
"""
|
||||
|
||||
cache_ok = True
|
||||
impl = DateTime(timezone=True)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue