Author: csutherl Date: Mon Jul 24 12:22:16 2017 New Revision: 1802800 URL: http://svn.apache.org/viewvc?rev=1802800&view=rev Log: Followup to r1802639, Use StringManager in log message
Modified: tomcat/trunk/ (props changed) tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties Propchange: tomcat/trunk/ ------------------------------------------------------------------------------ svn:mergeinfo = /tomcat/tc8.5.x/trunk:1802799 Modified: tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java?rev=1802800&r1=1802799&r2=1802800&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java Mon Jul 24 12:22:16 2017 @@ -1923,7 +1923,7 @@ public class Digester extends DefaultHan newAttrs.setValue(i, newValue); } } catch (Exception e) { - log.warn("Attribute [" + newAttrs.getLocalName(i) + "] failed to update and remains [" + value + "].", e); + log.warn(sm.getString("digester.failedToUpdateAttributes", newAttrs.getLocalName(i), value), e); } } Modified: tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties?rev=1802800&r1=1802799&r2=1802800&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties Mon Jul 24 12:22:16 2017 @@ -13,4 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -disgester.encodingInvalid=The encoding [{0}] is not recognised by the JRE and will be ignored \ No newline at end of file +disgester.encodingInvalid=The encoding [{0}] is not recognised by the JRE and will be ignored +digester.failedToUpdateAttributes=Attribute [{0}] failed to update and remains [{1}] --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org