From 898c6158e4a8b407a1b926fc1e93484ebf0ec264 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 7 Mar 2011 13:25:25 +0000
Subject: [PATCH] SAML2_HTTPRedirect: Log debug info for redirect.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2753 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SAML2/HTTPRedirect.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/SAML2/HTTPRedirect.php b/lib/SAML2/HTTPRedirect.php
index 24f13c104..7369b3262 100644
--- a/lib/SAML2/HTTPRedirect.php
+++ b/lib/SAML2/HTTPRedirect.php
@@ -77,6 +77,7 @@ class SAML2_HTTPRedirect extends SAML2_Binding {
 	public function send(SAML2_Message $message) {
 
 		$destination = $this->getRedirectURL($message);
+		SimpleSAML_Logger::debug('Redirect to ' . strlen($destination) . ' byte URL: ' . $destination);
 		SimpleSAML_Utilities::redirect($destination);
 	}
 
-- 
GitLab