try to fix logging

This commit is contained in:
Ross
2026-06-03 20:48:00 +01:00
parent 2e854c43b6
commit 3d445fe12e
7 changed files with 194 additions and 53 deletions
+3
View File
@@ -3,9 +3,12 @@ import os
import sys
from django.conf import settings
from rad.logging_setup import configure_loguru
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "rad.settings")
configure_loguru()
# Set up debugger if we are running in a container
if os.environ.get('RUN_MAIN'):