From f6a428f119cdec14412ece297567e217bb7552d3 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 1 Feb 2010 09:46:49 +0000
Subject: [PATCH] saml:IdP: Add statistics log for saml20-idp-SLO spinit.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2157 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/saml/lib/IdP/SAML2.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php
index e97cc9e73..6638eb373 100644
--- a/modules/saml/lib/IdP/SAML2.php
+++ b/modules/saml/lib/IdP/SAML2.php
@@ -402,6 +402,8 @@ class sspmod_saml_IdP_SAML2 {
 
 		} elseif ($message instanceof SAML2_LogoutRequest) {
 
+			SimpleSAML_Logger::stats('saml20-idp-SLO spinit ' . $spEntityId . ' ' . $idpMetadata->getString('entityid'));
+
 			$state = array(
 				'Responder' => array('sspmod_saml_IdP_SAML2', 'sendLogoutResponse'),
 				'saml:SPEntityId' => $spEntityId,
-- 
GitLab