리눅스 분류
boot.log
작성자 정보
- 백설왕자 작성
- 작성일
컨텐츠 정보
- 1,850 조회
- 1 댓글
- 0 추천
- 목록
본문
fedora core 6 을 설치하여 사용 중 입니다.
/var/log/ 밑에 여러 로그파일들 중에 다른 로그들은 모두 잘 나오는데
유독 boot.log 파일만 로그가 제대로 기록되지 않고 있습니다.
파일 퍼미션이나 그런 문제는 아닌것으로 아는데...이 문제를 해결하여
부트로그가 boot.log 파일에 제대로 기록되겠끔 하는 것에 대한 조언을 부탁드립니다.
지금 보면, 파일은 존재하는데 파일 크기가 0바이트 이고 vi로 열어보아도
역시나 아무것도 기록되어 있지 않은 빈파일 상태입니다.
-rw------- 1 root root 0 10월 23 15:22 boot.log
-rw------- 1 root root 0 10월 8 10:17 boot.log.1
-rw------- 1 root root 0 10월 5 15:05 boot.log.2
-rw------- 1 root root 0 9월 17 12:02 boot.log.3
-rw------- 1 root root 0 9월 12 19:10 boot.log.4
로그가 남아있지 않음에도 불구하고 파일 로테이션은 제대로 돌아가고 있는 것 같군요 -_-?
관련자료
-
이전
-
다음
댓글 1
백설왕자님의 댓글
- 백설왕자
- 작성일
==== 참고로 syslog.conf 파일 입니다
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log