diff --git a/nas/main.go b/nas/main.go index 68da418..8a95abf 100644 --- a/nas/main.go +++ b/nas/main.go @@ -59,7 +59,6 @@ func handleRequest(w http.ResponseWriter, r *http.Request) { return } - logging.Info("NAS", aurora.Yellow(r.Method), aurora.Cyan(r.URL), "via", aurora.Cyan(r.Host), "from", aurora.BrightCyan(r.RemoteAddr)) moduleName := "NAS:" + r.RemoteAddr // Handle conntest server @@ -120,6 +119,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) { return } + logging.Info("NAS", aurora.Yellow(r.Method), aurora.Cyan(r.URL), "via", aurora.Cyan(r.Host), "from", aurora.BrightCyan(r.RemoteAddr)) replyHTTPError(w, 404, "404 Not Found") }