diff --git a/Updater/Update-Service.ps1 b/Updater/Update-Service.ps1
index b51ad56a78b8e6dcb51018d0f0c85dccd35f7c8c..6657a902f3d54fa09e0565fa2f3826567180ab15 100644
--- a/Updater/Update-Service.ps1
+++ b/Updater/Update-Service.ps1
@@ -368,9 +368,9 @@ function Log-Info([string]$Message) {
 
 function Log-Debug([string]$Message) {
     Write-Verbose $Message
-    # NOTE: to disable debug logging simply uncomment the "Return" below:
-    # Return
-    Log-Message -Type Information -Message $Message -Id 999
+    if ($UpdaterDebugLogging) {
+        Log-Message -Type Information -Message $Message -Id 1000
+    }
 }
 
 ################################################################################
diff --git a/Updater/UpdaterConfig-Example.inc.ps1 b/Updater/UpdaterConfig-Example.inc.ps1
index 6c3d3e6e9ac45ccba550f17f595c5dd69d05645b..900387003490db11ccdf29775e55b8d8079992f0 100644
--- a/Updater/UpdaterConfig-Example.inc.ps1
+++ b/Updater/UpdaterConfig-Example.inc.ps1
@@ -8,6 +8,7 @@ $LogPath = "$($InstallationPath)"
 $UpdateSourcePath = "\\fileserver.mydomain.xy\share\_AUTOTX_"
 $Pattern = 'build_[0-9]{4}-[0-9]{2}-[0-9]{2}_'
 
+$UpdaterDebugLogging = $False
 $EmailFrom = "admin@mydomain.xy"
 $EmailTo   = "admin@mydomain.xy"
 $EmailSMTP = "smtp.mydomain.xy"
\ No newline at end of file