From: cantor Date: Sat, 12 Sep 2009 03:03:56 +0000 (+0000) Subject: Improve remapping warnings. X-Git-Tag: 2.4~206 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=b94da4612685153b1572802cb43fe3a90ef6c1de;p=shibboleth%2Fsp.git Improve remapping warnings. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3120 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/shibsp/util/DOMPropertySet.cpp b/shibsp/util/DOMPropertySet.cpp index f2cb41a..d28922e 100644 --- a/shibsp/util/DOMPropertySet.cpp +++ b/shibsp/util/DOMPropertySet.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 Internet2 + * Copyright 2001-2009 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,7 +70,7 @@ void DOMPropertySet::load( if (remapper) { remap=remapper->find(realname); if (remap!=remapper->end()) { - log->warn("remapping property (%s) to (%s)",realname,remap->second.c_str()); + log->warn("deprecation - remapping property (%s) to (%s)",realname,remap->second.c_str()); realname=remap->second.c_str(); } } @@ -102,7 +102,7 @@ void DOMPropertySet::load( if (remapper) { remap=remapper->find(realname); if (remap!=remapper->end()) { - log->warn("remapping property set (%s) to (%s)",realname,remap->second.c_str()); + log->warn("deprecation - remapping nested property set (%s) to (%s)",realname,remap->second.c_str()); realname=remap->second.c_str(); } }