Tagged in

Filehandler

xster
xster
Collection of tech tips and learnings
More information
Followers
19
More, on Medium

Django Log to File

In the official Django logging docs, it wasn’t very clear about how to log to files. As you can understand, Django can use any Python logging classes that are all listed here. One of them is FileHandler. To use it, just add this to your settings.py

LOGGING = {