
어떤 이유로 logrotate가 실행될 때 tomcatlogs에 .1이 추가됩니다. 예: 파일 "tcl-2013-08-16.0.log"는 "tcl-2013-08-16.0.1.log"가 됩니다. 파일 이름의 ".log" 부분 앞에 ".1"을 추가하는 설정을 찾는 데 어려움을 겪고 있습니다. 다음은 /etc/logrotate.d/의 설정 파일 복사본입니다.
extension .log
rotate 52
daily
nocreate
nodateext
missingok
notifempty
compress
delaycompress
다음은 /etc/logrotate.conf의 구성입니다.
weekly
rotate 52
create
dateext
compress
delaycompress
include /etc/logrotate.d
내가 여기서 무엇을 놓치고 있는 걸까요?
고마워요, 나스