Skip to content

Commit

Permalink
Update logging to work with dict config
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Jul 21, 2023
1 parent e667b8d commit fc176a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions smbackend/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging.config
import os
from pathlib import Path

Expand Down Expand Up @@ -330,6 +331,7 @@ def gettext(s):
},
},
}
logging.config.dictConfig(LOGGING)

# Define the endpoints for API documentation with drf-spectacular.
DOC_ENDPOINTS = [
Expand Down

0 comments on commit fc176a3

Please sign in to comment.