diff --git a/modules/ldapstatus/lib/LDAPTester.php b/modules/ldapstatus/lib/LDAPTester.php
index cc5222f0096f8483bfd6ae4a62f4aa9785d764fb..214b59a33ce217b89b7b3dfb8b40309ca62b0cd3 100644
--- a/modules/ldapstatus/lib/LDAPTester.php
+++ b/modules/ldapstatus/lib/LDAPTester.php
@@ -47,7 +47,7 @@ class sspmod_ldapstatus_LDAPTester {
 		if ($this->debugOutput) {
 			echo '<p>' . $str;
 		} else {
-			SimpleSAML_Logger::debug('ldapstatus phpping(): ping [' . $host . ':' . $port . ']' );
+			SimpleSAML_Logger::debug($str);
 		}
 		flush();
 	}