묻고답하기
아파치 로그파일 무슨 내용인가요...? 삭제해도 되나요
2015.06.21 19:56
개인 서버 운영하는데요 아파치 로그 파일 용량이 너무 커서 백업하기 힘든데
어떤 내용이 저장되는 것이고, 삭제해도 무관한지 궁금하네요...
매일 날짜별로 생성되는 거 같던데요
주로 이런 내용들이 들어있던데요...
83.233.165.149 - - [04/Jul/2009:00:00:28 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:00:44 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:01:10 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:01:14 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:01:14 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:01:44 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:01:50 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:02:15 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:02:18 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:02:34 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:02:56 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:03:23 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:03:32 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:03:54 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:03:59 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:04:36 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:04:41 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:04:54 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:05:08 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:05:41 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:05:47 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:06:01 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:06:16 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:06:24 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:06:43 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
83.233.165.149 - - [04/Jul/2009:00:07:10 +0900] "POST /XE/comment_ok.php HTTP/1.1" 404 297 "http://www.circleofprayer.org/account/login.php" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
해당 웹서버에 접속한 이력이 남는 것입니다.
현재 위 로그로는
아이피, 클라이언트 접속시간(httpd 접속시간), 클라이언트 요청종류 , 요청페이지, 프로토콜, 요청결과상태코드 , 사이즈, 접속페이지, 접속디바이스
순으로 적혀있습니다.
분석용으로 많이 사용 하는 파일인데요.
운영상에 큰 문제가 없으시면 삭제 혹은 내용을 비우시면 됩니다.
어차피 서버설정에서 로그생성 설정을 삭제해주지 않는한 계속 생성되니 주기적으로 비워주시면 됩니다.