mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 05:51:54 +00:00
update
This commit is contained in:
parent
92c4a627ab
commit
34124bb423
@ -342,7 +342,7 @@ func main() {
|
||||
os.Mkdir(loggerDir, os.ModePerm)
|
||||
}
|
||||
t := time.Now()
|
||||
file := t.Format("20060102.15:04:05") + ".log"
|
||||
file := t.Format("20060102.15_04_05") + ".log"
|
||||
f, err := os.OpenFile(loggerDir+file, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
|
||||
defer f.Close()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user