diff --git a/logger.go b/logger.go index 2aab6a3..1e8c8fe 100644 --- a/logger.go +++ b/logger.go @@ -41,6 +41,7 @@ func Logger(log *logrus.Logger) gin.HandlerFunc { } entry := logrus.NewEntry(log).WithFields(logrus.Fields{ + "hostname": hostname, "statusCode": statusCode, "latency": latency, // time to process "clientIP": clientIP,