]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - rounds/spy.go
Ability to remove hosts from the states, refactoring
[tofuproxy.git] / rounds / spy.go
index 3b242f8cfd2b686a37d230c80553ee6508a3e558..cb12480d40390be491131234a812707e5e02f99f 100644 (file)
@@ -62,12 +62,7 @@ func RoundDenySpy(
 ) (bool, error) {
        if IsSpy(host) {
                http.NotFound(w, req)
-               fifos.SinkOther <- fmt.Sprintf(
-                       "%s %s\t%d\tdeny spy",
-                       req.Method,
-                       req.URL.String(),
-                       http.StatusNotFound,
-               )
+               fifos.LogVarious <- fmt.Sprintf("%s %s\tdeny spy", req.Method, req.URL)
                return false, nil
        }
        return true, nil