Add console logging back to Stator

pull/654/head
Andrew Godwin 2023-11-12 16:48:44 -07:00
rodzic 476f817464
commit ab3648e05d
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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]],