参考:http://lifeonubuntu.com/configuring-log-rotation-of-apache2-and-other-logs/
debian apach2 wsgi 自定义log logrotate 之后无权限访问
原文:https://blog.51cto.com/liuanhf/2513692