리눅스 분류
로그들 지워도 되나요?
작성자 정보
- 제리 작성
- 작성일
컨텐츠 정보
- 3,439 조회
- 0 추천
- 목록
본문
안녕하새요
상관이 리눅스에 있는 로그를 지우라네요
그냥 지울까 하다가 리눅스 메케니즘을 잘모는 입장에서 문제가 생길까 걱정이 되네요
1) /usr/local/tomcat/logs
-rw-r--r-- 1 root root 814737 7월 26 23:50 catalina_log.2010-07-26.txt
-rw-r--r-- 1 root root 1054508 7월 27 23:44 catalina_log.2010-07-27.txt
-rw-r--r-- 1 root root 1006134 7월 28 23:51 catalina_log.2010-07-28.txt
오래도니 카탈리나 로그
2)/usr/local/apache2/logs
-rw-r--r-- 1 root root 45767503 8월 25 10:43 jndairy-access_log
-rw-r--r-- 1 root root 9551063 8월 25 10:43 jndairy-error_log
-rw-r--r-- 1 root root 236 4월 29 10:03 kanghwa-access_log
-rw-r--r-- 1 root root 346 4월 29 10:03 kanghwa-error_log
-rw-r--r-- 1 root root 1835 7월 16 14:34 keunp-access_log
-rw-r--r-- 1 root root 1385 7월 9 16:04 keunp-error_log
-rw-r--r-- 1 root root 16630216 8월 25 10:43 kohungls-access_log
-rw-r--r-- 1 root root 476838 8월 25 09:08 kohungls-error_log
-rw-r--r-- 1 root root 155088296 8월 25 10:39 kumilsh-access_log
-rw-r--r-- 1 root root 1055516 8월 25 10:28 kumilsh-error_log
-rw-r--r-- 1 root root 1031018082 8월 25 10:44 mod_jk.log
-rw-r--r-- 1 root root 8219 8월 12 02:54 nonghyup-access_log
-rw-r--r-- 1 root root 2784 8월 12 02:54 nonghyup-error_log
-rw-r--r-- 1 root root 29045780 8월 25 10:37 oyster-access_log
-rw-r--r-- 1 root root 808198 8월 25 09:42 oyster-error_log
-rw-r--r-- 1 root root 3316 7월 9 15:19 propds-access_log
-rw-r--r-- 1 root root 1251 7월 9 15:19 propds-error_log
-rw-r--r-- 1 root root 236147906 8월 25 10:43 samrak-access_log
-rw-r--r-- 1 root root 14096685 8월 25 09:50 samrak-error_log
-rw-r--r-- 1 root root 269079700 8월 25 10:44 seaky-access_log
-rw-r--r-- 1 root root 34038329 8월 25 10:44 seaky-error_log
-rw-r--r-- 1 root root 140 2월 4 2010 seaky2008-access_log
-rw-r--r-- 1 root root 0 1월 20 2010 seaky2008-error_log
-rw-r--r-- 1 root root 78874 8월 25 03:43 seakymall-access_log
-rw-r--r-- 1 root root 44269 8월 25 03:42 seakymall-error_log
-rw-r--r-- 1 root root 770702 8월 25 10:38 seakymall2-access_log
-rw-r--r-- 1 root root 150388 8월 25 10:38 seakymall2-error_log
-rw-r--r-- 1 root root 11612349 7월 13 16:18 ssl_request_log
-rw-r--r-- 1 root root 96270 7월 28 08:59 sunchang2-access_log
-rw-r--r-- 1 root root 20916 7월 28 08:59 sunchang2-error_log
-rw-r--r-- 1 root root 12711298 8월 25 10:19 wanggun-access_log
-rw-r--r-- 1 root root 522443 8월 25 09:26 wanggun-error_log
아파치 로그
이두가지를 cat /dev/null > /var/log/xxxxx
이런식으로 지워도 아무문제 없는건가요??
상관이 리눅스에 있는 로그를 지우라네요
그냥 지울까 하다가 리눅스 메케니즘을 잘모는 입장에서 문제가 생길까 걱정이 되네요
1) /usr/local/tomcat/logs
-rw-r--r-- 1 root root 814737 7월 26 23:50 catalina_log.2010-07-26.txt
-rw-r--r-- 1 root root 1054508 7월 27 23:44 catalina_log.2010-07-27.txt
-rw-r--r-- 1 root root 1006134 7월 28 23:51 catalina_log.2010-07-28.txt
오래도니 카탈리나 로그
2)/usr/local/apache2/logs
-rw-r--r-- 1 root root 45767503 8월 25 10:43 jndairy-access_log
-rw-r--r-- 1 root root 9551063 8월 25 10:43 jndairy-error_log
-rw-r--r-- 1 root root 236 4월 29 10:03 kanghwa-access_log
-rw-r--r-- 1 root root 346 4월 29 10:03 kanghwa-error_log
-rw-r--r-- 1 root root 1835 7월 16 14:34 keunp-access_log
-rw-r--r-- 1 root root 1385 7월 9 16:04 keunp-error_log
-rw-r--r-- 1 root root 16630216 8월 25 10:43 kohungls-access_log
-rw-r--r-- 1 root root 476838 8월 25 09:08 kohungls-error_log
-rw-r--r-- 1 root root 155088296 8월 25 10:39 kumilsh-access_log
-rw-r--r-- 1 root root 1055516 8월 25 10:28 kumilsh-error_log
-rw-r--r-- 1 root root 1031018082 8월 25 10:44 mod_jk.log
-rw-r--r-- 1 root root 8219 8월 12 02:54 nonghyup-access_log
-rw-r--r-- 1 root root 2784 8월 12 02:54 nonghyup-error_log
-rw-r--r-- 1 root root 29045780 8월 25 10:37 oyster-access_log
-rw-r--r-- 1 root root 808198 8월 25 09:42 oyster-error_log
-rw-r--r-- 1 root root 3316 7월 9 15:19 propds-access_log
-rw-r--r-- 1 root root 1251 7월 9 15:19 propds-error_log
-rw-r--r-- 1 root root 236147906 8월 25 10:43 samrak-access_log
-rw-r--r-- 1 root root 14096685 8월 25 09:50 samrak-error_log
-rw-r--r-- 1 root root 269079700 8월 25 10:44 seaky-access_log
-rw-r--r-- 1 root root 34038329 8월 25 10:44 seaky-error_log
-rw-r--r-- 1 root root 140 2월 4 2010 seaky2008-access_log
-rw-r--r-- 1 root root 0 1월 20 2010 seaky2008-error_log
-rw-r--r-- 1 root root 78874 8월 25 03:43 seakymall-access_log
-rw-r--r-- 1 root root 44269 8월 25 03:42 seakymall-error_log
-rw-r--r-- 1 root root 770702 8월 25 10:38 seakymall2-access_log
-rw-r--r-- 1 root root 150388 8월 25 10:38 seakymall2-error_log
-rw-r--r-- 1 root root 11612349 7월 13 16:18 ssl_request_log
-rw-r--r-- 1 root root 96270 7월 28 08:59 sunchang2-access_log
-rw-r--r-- 1 root root 20916 7월 28 08:59 sunchang2-error_log
-rw-r--r-- 1 root root 12711298 8월 25 10:19 wanggun-access_log
-rw-r--r-- 1 root root 522443 8월 25 09:26 wanggun-error_log
아파치 로그
이두가지를 cat /dev/null > /var/log/xxxxx
이런식으로 지워도 아무문제 없는건가요??
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.