From 4c8930625bfb27bcabc4a53c09f09af921783dc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Tue, 21 Oct 2008 08:30:23 +0000
Subject: [PATCH] Log when metadata is sent with email

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@939 44740490-163a-0410-bde0-09ae8108e29a
---
 www/saml2/sp/metadata.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/saml2/sp/metadata.php b/www/saml2/sp/metadata.php
index fb43d6699..be5b53200 100644
--- a/www/saml2/sp/metadata.php
+++ b/www/saml2/sp/metadata.php
@@ -121,6 +121,8 @@ try {
 		$email->setBody($message);
 		$email->send();
 		$sentok = TRUE;
+		
+		SimpleSAML_Logger::info('SAML2.0 - Metadata: Metadata was successfully sent to ' . $emailadr . ' from ' . $from);
 	}
 	
 	
-- 
GitLab