File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ CollectNginxLogs save access and error logs to the test execution directory.
233233Nginx logging need to be set following way:
234234
235235 - error_log <default-work-dir>/{{.LogPrefix}}-error.log;
236- - access_log <default-work-dir>/{{.LogPrefix}}-accesLog ;
236+ - access_log <default-work-dir>/{{.LogPrefix}}-access.log ;
237237
238238where LogPrefix is set to nginxContainer.Name
239239*/
@@ -251,13 +251,14 @@ func CollectNginxLogs(nginxContainer *Container) {
251251/*
252252CollectEnvoyLogs save access logs to the test execution directory.
253253Envoy access log path need to be set following way:
254- <default-work-dir>/{{.LogPrefix}}-accesLog
254+ <default-work-dir>/{{.LogPrefix}}-access.log
255255where LogPrefix is set to envoyContainer.Name
256256*/
257257func CollectEnvoyLogs (envoyContainer * Container ) {
258258 targetDir := envoyContainer .Suite .getLogDirPath ()
259259 source := envoyContainer .GetHostWorkDir () + "/" + envoyContainer .Name + "-"
260- cmd := exec .Command ("cp" , "-t" , targetDir , source + "accesLog" )
260+ // keep in sync with envoy/proxy.yaml access_log
261+ cmd := exec .Command ("cp" , "-t" , targetDir , source + "access.log" )
261262 Log (cmd .String ())
262263 err := cmd .Run ()
263264 if err != nil {
You can’t perform that action at this time.
0 commit comments