formatting and extra test

Can probably slim down the `ExcludePath` tests.
This commit is contained in:
Karl Skewes
2019-07-16 09:43:48 +12:00
parent c4f20fff3d
commit 08021429ea
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -182,6 +182,7 @@ func (l *Logger) PrintReq(username, upstream string, req *http.Request, url url.
if url.Path == l.excludePath {
return
}
duration := float64(time.Now().Sub(ts)) / float64(time.Second)
if username == "" {