Selaa lähdekoodia

hide domian name in access filename.

duh@133.cn 4 vuotta sitten
vanhempi
commit
729465c8e8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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"
 )