Skip to content

Commit b515f6b

Browse files
committed
Enable console logging in DEBUG
Signed-off-by: Keshav Priyadarshi <[email protected]>
1 parent 2bac2e0 commit b515f6b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vulnerablecode/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,3 +349,9 @@
349349
},
350350
},
351351
}
352+
353+
if DEBUG:
354+
LOGGING["django"] = {
355+
"handlers": ["console"],
356+
"level": "ERROR",
357+
}

0 commit comments

Comments
 (0)