diff --git a/Dockerfile b/Dockerfile
index 2a8dc27ebb4c507087cfbb4da3072b45a8474a03..3d0d5737366d6de4f284eab9bbdaa29b445b6353 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,8 @@ ENV ALLOW_RESTARTS=0 \
     SYSTEM=0 \
     TASKS=0 \
     VERSION=1 \
-    VOLUMES=0
+    VOLUMES=0 \
+    LOG_LEVEL=info
 COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
 
 # Metadata
diff --git a/README.md b/README.md
index 7c270a8a8b6aa483e3275c00f0e936afad827efe..d64afe30a71bc209cca41d164386c3ec21e8dd36 100644
--- a/README.md
+++ b/README.md
@@ -141,6 +141,12 @@ does not need.
 - `TASKS`
 - `VOLUMES`
 
+## Logging
+
+You can set the logging level or severity level of the messages to be logged with the
+ environment variable `LOG_LEVEL`. Defaul value is info. Possible values are: debug, 
+ info, notice, warning, err, crit, alert and emerg.
+
 ## Supported API versions
 
 - [1.27](https://docs.docker.com/engine/api/v1.27/)
diff --git a/haproxy.cfg b/haproxy.cfg
index 914b99061767ba0ea1599020e57eb04e1a4b1447..1e5aa639d80d020f979973db72b5438f1ab1f61e 100644
--- a/haproxy.cfg
+++ b/haproxy.cfg
@@ -1,5 +1,5 @@
 global
-    log stdout format raw daemon
+    log stdout format raw daemon "${LOG_LEVEL}"
 
     pidfile /run/haproxy.pid
     maxconn 4000