Django: Setup an efficient logging system for a website in production
问题 Alright so the development phase is over and now my website is live in prod. However, I have not set up the logging. My website is located in /var/www/html dir. Ideally I would like to have Django logging in /var/log/django but that would require permissions. Is it standard practice to keep Django logs in /var/log/? What type of permissions I need for the logs to store in /var/log. I just want logs for last 2 days and today, rest can automatically be removed if I can. Setup: RHEL7, Apache2.4,