try to fix logging
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user