Compare commits
2 Commits
05dc158719
...
48933cdf5f
Author | SHA1 | Date |
---|---|---|
Ferdinand Thiessen | 48933cdf5f | |
Ferdinand Thiessen | 7cb31bf60e |
|
@ -122,6 +122,8 @@ dmypy.json
|
||||||
.vscode/
|
.vscode/
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
|
data/
|
||||||
|
|
||||||
# config
|
# config
|
||||||
flaschengeist/flaschengeist.toml
|
flaschengeist/flaschengeist.toml
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,8 @@ def configure_app(app, test_config=None):
|
||||||
global config
|
global config
|
||||||
read_configuration(test_config)
|
read_configuration(test_config)
|
||||||
|
|
||||||
|
configure_logger()
|
||||||
|
|
||||||
# Always enable this builtin plugins!
|
# Always enable this builtin plugins!
|
||||||
update_dict(
|
update_dict(
|
||||||
config,
|
config,
|
||||||
|
|
|
@ -6,7 +6,7 @@ disable_existing_loggers = false
|
||||||
|
|
||||||
[formatters]
|
[formatters]
|
||||||
[formatters.simple]
|
[formatters.simple]
|
||||||
format = "%(asctime)s - %(name)s (%(levelname)s) - %(message)s"
|
format = "%(asctime)s - %(levelname)s - %(message)s"
|
||||||
[formatters.extended]
|
[formatters.extended]
|
||||||
format = "%(asctime)s — %(filename)s - %(funcName)s - %(lineno)d - %(threadName)s - %(name)s — %(levelname)s — %(message)s"
|
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.
|
aware value, even with SQLite or MySQL.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
cache_ok = True
|
||||||
impl = DateTime(timezone=True)
|
impl = DateTime(timezone=True)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue