Author: markt Date: Tue Aug 13 21:22:19 2013 New Revision: 1513659 URL: http://svn.apache.org/r1513659 Log: Fix trace level logging. Log messages were using a message key that did not exist.
Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java?rev=1513659&r1=1513658&r2=1513659&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java Tue Aug 13 21:22:19 2013 @@ -405,8 +405,7 @@ public abstract class AbstractEndpoint { */ public void setAttribute(String name, Object value) { if (getLog().isTraceEnabled()) { - getLog().trace(sm.getString("abstractProtocolHandler.setAttribute", - name, value)); + getLog().trace(sm.getString("endpoint.setAttribute", name, value)); } attributes.put(name, value); } @@ -416,8 +415,7 @@ public abstract class AbstractEndpoint { public Object getAttribute(String key) { Object value = attributes.get(key); if (getLog().isTraceEnabled()) { - getLog().trace(sm.getString("abstractProtocolHandler.getAttribute", - key, value)); + getLog().trace(sm.getString("endpoint.getAttribute", key, value)); } return value; } Modified: tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties?rev=1513659&r1=1513658&r2=1513659&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/res/LocalStrings.properties Tue Aug 13 21:22:19 2013 @@ -29,6 +29,7 @@ endpoint.init.bind=Socket bind failed: [ endpoint.init.listen=Socket listen failed: [{0}] {1} endpoint.init.notavail=APR not available endpoint.accept.fail=Socket accept failed +endpoint.getAttribute=[{0}] is [{1}] endpoint.launch.fail=Failed to launch new runnable endpoint.poll.limitedpollsize=Failed to create poller with specified size of {0} endpoint.poll.initfail=Poller creation failed @@ -37,6 +38,7 @@ endpoint.poll.error=Unexpected poller er endpoint.process.fail=Error allocating socket processor endpoint.sendfile.error=Unexpected sendfile error endpoint.sendfile.addfail=Sendfile failure: [{0}] {1} +endpoint.setAttribute=Set [{0}] to [{1}] endpoint.timeout.err=Error processing socket timeout endpoint.apr.noSslCertFile=Connector attribute SSLCertificateFile must be defined when using SSL with APR endpoint.apr.pollAddInvalid=Invalid attempted to add a socket [{0}] to the poller --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org