From 234cfdcf860106ab9e805eaf11b306b3cd4903ff Mon Sep 17 00:00:00 2001 From: iyear Date: Tue, 7 Apr 2020 10:57:03 +0800 Subject: [PATCH] Update --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 3f2c2ac..52b0e2e 100644 --- a/util.go +++ b/util.go @@ -103,7 +103,7 @@ func GetRecentLogs(path string, n int) []string { //fmt.Println(nt) for i := 1; i <= nt; { if PathExists(path + data.Format("2006-01-02") + ".log") { - paths = append(paths, path+data.Format("2006-01-02")+".log") + paths = append(paths, data.Format("2006-01-02")+".log") i++ } data = data.Add(d)