diff --git a/icslog/icslog.go b/icslog/icslog.go index ae21407..ad6bf8c 100644 --- a/icslog/icslog.go +++ b/icslog/icslog.go @@ -122,7 +122,8 @@ func NewIcsLog(conf *icsconf.LogConfig, level int, output int, path string, disk gIcsLog.rotateNum = MAX_LOG_ROTATE_NUM } - gIcsLog.logger = log.New(&gIcsLog.buf, "", log.Ldate|log.Ltime|log.Lmicroseconds|log.Lshortfile) + // gIcsLog.logger = log.New(&gIcsLog.buf, "", log.Ldate|log.Ltime|log.Lmicroseconds|log.Lshortfile) + gIcsLog.logger = log.New(&gIcsLog.buf, "", 0) gIcsLog.CurrentDate = time.Now() gIcsLog.DelDay = conf.DelConfig.DelDay