CustomLog “|/usr/sbin/rotatelogs /var/log/httpd/httpd_access_log.%Y-%m-%d-%H 28800 +540” combined
ErrorLog “|/usr/sbin/rotatelogs /var/log/httpd/httpd_error_log.%Y-%m-%d-%H 28800 +540”
“아파치 로그”에 대한 2개의 댓글
댓글이 닫혀있습니다.
CustomLog “|/usr/sbin/rotatelogs /var/log/httpd/httpd_access_log.%Y-%m-%d-%H 28800 +540” combined
ErrorLog “|/usr/sbin/rotatelogs /var/log/httpd/httpd_error_log.%Y-%m-%d-%H 28800 +540”
댓글이 닫혀있습니다.
CustomLog “|/usr/sbin/rotatelogs /var/log/httpd/%Z_%Y-%m-%d-%H_httpd_access.log 28800 +540” combined
ErrorLog “|/usr/sbin/rotatelogs /var/log/httpd/%Z_%Y-%m-%d-%H_httpd_error.log 28800 +540”
apache 1.3에선 %Z가 무조건 GMT로 나온다(삽질하지말자)
CustomLog “|/usr/sbin/rotatelogs /var/log/httpd/apache_access_%Z_%Y-%m-%d-%H.log 28800 +540” combined
ErrorLog “|/usr/sbin/rotatelogs /var/log/httpd/apache_error_%Z_%Y-%m-%d-%H.log 28800 +540”