https://issues.shibboleth.net/jira/browse/SSPCPP-404
authorScott Cantor <cantor.2@osu.edu>
Wed, 9 Nov 2011 18:49:36 +0000 (18:49 +0000)
committerScott Cantor <cantor.2@osu.edu>
Wed, 9 Nov 2011 18:49:36 +0000 (18:49 +0000)
shibsp/impl/StorageServiceSessionCache.cpp

index 65ac383..8139b02 100644 (file)
@@ -424,10 +424,8 @@ void StoredSession::validate(const Application& app, const char* client_addr, ti
 
     // Address check?
     if (client_addr) {
-        if (m_cache->m_log.isDebugEnabled())
-            m_cache->m_log.debug("comparing client address %s against %s", client_addr, getClientAddress());
         if (!XMLString::equals(getClientAddress(),client_addr)) {
-            m_cache->m_log.warn("client address mismatch");
+            m_cache->m_log.warn("client address mismatch, client (%s), session (%s)", client_addr, getClientAddress());
             throw RetryableProfileException(
                 "Your IP address ($1) does not match the address recorded at the time the session was established.",
                 params(1,client_addr)