mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-28 10:11:01 +00:00
Add console logging back to Stator
This commit is contained in:
parent
476f817464
commit
ab3648e05d
1 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,12 @@ class Command(BaseCommand):
|
|||
):
|
||||
# Cache system config
|
||||
Config.system = Config.load_system()
|
||||
logging.basicConfig(
|
||||
format="[%(asctime)s] %(levelname)8s - %(message)s",
|
||||
datefmt="%Y-%m-%d %H:%M:%S",
|
||||
level=logging.INFO,
|
||||
force=True,
|
||||
)
|
||||
# Resolve the models list into names
|
||||
models = cast(
|
||||
list[type[StatorModel]],
|
||||
|
|
Loading…
Reference in a new issue