1. modify access log file path
@@ -35,7 +35,7 @@ import (
func TestAccessLog_Write_to_file(t *testing.T) {
msg := "this is test msg"
- filePath := "/home/dubbo-go-proxy/logs/dubbo-go-access"
+ filePath := "dubbo-go-proxy/logs/dubbo-go-access"
//filePath := "C:\\Users\\60125\\Desktop\\dubbo-go\\logs\\dubbo-go-proxy-20201217"
accessLogWriter := &model.AccessLogWriter{AccessLogDataChan: make(chan model.AccessLogData, constant.LogDataBuffer)}
accessLogWriter.Write()
