rotate 수정

main
JungJun 2 years ago
parent fce9d18efb
commit 9f91fec4b8

@ -130,6 +130,7 @@ func NewIcsLog(conf *icsconf.LogConfig, level int, output int, path string, disk
nowMinS := fmt.Sprintf("%02dm", nowMinRem) nowMinS := fmt.Sprintf("%02dm", nowMinRem)
convMinutes, _ := time.ParseDuration(nowMinS) convMinutes, _ := time.ParseDuration(nowMinS)
diffMinutes := now.Add(-convMinutes) diffMinutes := now.Add(-convMinutes)
fmt.Println("diffMinutes ", diffMinutes)
gIcsLog.CurrentDate = diffMinutes gIcsLog.CurrentDate = diffMinutes
gIcsLog.DelDay = conf.DelConfig.DelDay gIcsLog.DelDay = conf.DelConfig.DelDay

Loading…
Cancel
Save