Browse Source

hide domian name in access filename.

duh@133.cn 4 years ago
parent
commit
729465c8e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      golang/nginx_log_timerange/main.go

+ 1 - 1
golang/nginx_log_timerange/main.go

@@ -105,7 +105,7 @@ func writeFile(file string, ch <-chan *logFormat) {
 const (
 	startTimeStr = "2020-07-17 17:30:00"
 	endTimeStr   = "2020-07-17 20:10:00"
-	srcFile      = "/opt/tools/access-ftbook.hbgj.huoli.local-http.log_2020-07-17-1"
+	srcFile      = "/opt/tools/access.log_2020-07-17-1"
 	dstFile      = "/opt/tools/result"
 )