Created
August 6, 2022 05:45
-
-
Save takutoez/9657a976dbd6979a3703964301692329 to your computer and use it in GitHub Desktop.
Djangoのデバッグログ設定(最小)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
logging.basicConfig( | |
level = logging.DEBUG, | |
format = '%(asctime)s %(levelname)s %(message)s', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment