tintoy / seqlog

Python logging integration for Seq (https://getseq.net)
https://seqlog.readthedocs.io/
MIT License
17 stars 11 forks source link

How to setup Django + Gunicorn + Uvicron #70

Open sh1man opened 2 weeks ago

sh1man commented 2 weeks ago

How to set this up for a django project ?

tintoy commented 1 week ago

Sorry for the delay; work’s been a little crazy this week 🙂

I’ll do some research and let you know what I find.

tintoy commented 1 week ago

This is probably the place to start:

https://docs.djangoproject.com/en/5.1/topics/logging/

I’ll see if I can adapt a section of the Seqlog documentation to show where you’d customise it for Seqlog:

https://seqlog.readthedocs.io/en/latest/usage.html#configure-logging-from-a-file

(mostly, just converting that YAML to JSON should be sufficient)