diff --git a/absled/dummy.py b/absled/dummy.py
index 6ad0c906dd572980e3f6da300272c899dc929d1f..671b2ec88298ac9b430c8aa5b8c612c445567a4a 100644
--- a/absled/dummy.py
+++ b/absled/dummy.py
@@ -1,3 +1,5 @@
+import os
+
 from absled import ILedString
 
 
@@ -7,6 +9,7 @@ class DummyLedString(ILedString):
         self.location = location
         self.leds = [(0, 0, 0)] * length
         self.real_leds = [(0, 0, 0)] * length
+        self.log_led_state = os.environ.get("LOG_LED_STATE", 0) == 1
 
     def set_led(self, color: tuple[int, int, int], index: int):
         self.leds[index] = color
@@ -26,4 +29,5 @@ class DummyLedString(ILedString):
 
     def show(self):
         self.real_leds = self.leds.copy()
-        print("LED State:", self.leds)
\ No newline at end of file
+        if self.log_led_state:
+            print("LED State:", self.leds)
\ No newline at end of file