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, python3.5, Django 1.10, mod_wsgi, mySQL