diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php
index 885e4fea9f73ff9bb0384dc103841c1ee436eee7..dccc5168538e067a59efeb90907472d835d4fe78 100644
--- a/www/saml2/idp/SSOService.php
+++ b/www/saml2/idp/SSOService.php
@@ -279,21 +279,6 @@ if($needAuth && !$isPassive) {
 		 */
 		$attributes = $session->getAttributes();
 		
-		/*
-			Need to be replaced by a auth proc filter that does the log entry....
-			
-			$realmattr = $config->getValue('statistics.realmattr', null);
-			$realmstr = 'NA';
-			if (!empty($realmattr)) {
-				if (array_key_exists($realmattr, $tempattr) && is_array($tempattr[$realmattr]) ) {
-					$realmstr = $tempattr[$realmattr][0];
-				} else {
-					SimpleSAML_Logger::warning('Could not get realm attribute to log [' . $realmattr. ']');
-				}
-			} 
-		*/
-		SimpleSAML_Logger::stats('saml20-idp-SSO ' . $spentityid . ' ' . $idpentityid . ' NA');
-		
 		/* Authentication processing operations. */
 		if (array_key_exists('AuthProcState', $requestcache)) {
 			/* Processed earlier, saved in requestcache. */