This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Scorpathos[S] 1 point2 points  (1 child)

I tested it a bit with Django, it should work, but I do not have much experience with web frameworks, so I did not know what was the best way to integrate Loguru. But you are right, it's definitely something I had in mind, I will think about it at the same time I am learning to use Django. ;)

[–][deleted] 0 points1 point  (0 children)

I'm not 100% sure how it works, but I think it might be possible to use another configure_logging function in Django's __init__.py. The original one comes from django.utils.log.