Author: csutherl Date: Mon Jul 24 12:20:30 2017 New Revision: 1802799 URL: http://svn.apache.org/viewvc?rev=1802799&view=rev Log: Followup to r1802640, Use StringManager in log message
Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/Digester.java tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties Modified: tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/Digester.java URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/Digester.java?rev=1802799&r1=1802798&r2=1802799&view=diff ============================================================================== --- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/Digester.java (original) +++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/Digester.java Mon Jul 24 12:20:30 2017 @@ -1988,7 +1988,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/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties?rev=1802799&r1=1802798&r2=1802799&view=diff ============================================================================== --- tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties (original) +++ tomcat/tc8.5.x/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties Mon Jul 24 12:20:30 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