From: Scott Cantor Date: Sat, 12 Sep 2009 03:03:56 +0000 (+0000) Subject: Improve remapping warnings. X-Git-Tag: 2.3~54 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=0d4392d75e19604cb509dc3dce529f2d8feea873 Improve remapping warnings. --- 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(); } }