about summary refs log tree commit diff stats
path: root/internal/server/logging.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/logging.go')
-rw-r--r--internal/server/logging.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/server/logging.go b/internal/server/logging.go
index 611cb41..5d607bb 100644
--- a/internal/server/logging.go
+++ b/internal/server/logging.go
@@ -24,10 +24,6 @@ func NewLoggingResponseWriter(w http.ResponseWriter) *LoggingResponseWriter {
 
 func wrapHandlerWithLogging(wrappedHandler http.Handler) http.Handler {
 	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
-		scheme := r.URL.Scheme
-		if scheme == "" {
-			scheme = "http"
-		}
 		host := r.Host
 		lw := NewLoggingResponseWriter(w)
 		wrappedHandler.ServeHTTP(lw, r)
@@ -37,7 +33,6 @@ func wrapHandlerWithLogging(wrappedHandler http.Handler) http.Handler {
 		statusCode := lw.statusCode
 		log.Info(
 			"http request",
-			"scheme", scheme,
 			"method", r.Method,
 			"status", statusCode,
 			"host", host,