Hi,
If you are running on a Linux system, you'd better using the standard stream logs and logrotate to manage file rotating.
The later is the blessed tool for this kind of task, since it manages for free the compression of rotated files and removal of oldest ones if you want to.
Regards
Eric
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/1E1MuO08okk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/AM6P193MB042177E51A91076EAC03931E8CB80%40AM6P193MB0421.EURP193.PROD.OUTLOOK.COM.
I do not have the details in mind, but in the context of a former Docker based deployment, we have used the ELK stack to manage the logs of the containers, by capturing the containers' stdout. Thanks to this option, it has been possible to stay with basic stream based logs.
If you are interested, I can try to retrieve the exact procedure, but I can't promise : it was for the first deployment of this app, which was hosted on Azure at that time. Since then we have moved to a Kubernetes managed solution on GCP.
BTW we have kept using stream based logs, GCP log tooling offering the appropriate tools for exploiting them.
Regards
Eric