Author: pferraro
Date: 2008-09-25 11:09:40 -0400 (Thu, 25 Sep 2008)
New Revision: 1902
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java
Log:
Add status to modcluster.error.other message
Modified: trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties
===================================================================
---
trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties 2008-09-25
06:43:12 UTC (rev 1901)
+++
trunk/mod_cluster/src/main/java/org/jboss/modcluster/LocalStrings.properties 2008-09-25
15:09:40 UTC (rev 1902)
@@ -23,7 +23,7 @@
modcluster.error.noproxy=No proxy list or URL configured, advertise disabled and no
localhost available; connect connect to mod_cluster
modcluster.error.nonPositiveAttribute=Invalid {0} specified [{1}] - must be a positive
number.
modcluster.error.nullAttribute=Value for attribute {0} cannot be null
-modcluster.error.other=Error [{2}: {3}] sending command {0} to proxy {1}, configuration
will be reset
+modcluster.error.other=Error {4} [{2}: {3}] sending command {0} to proxy {1},
configuration will be reset
modcluster.error.iae.null=[{0}] is null
modcluster.error.iae.invalid="Invalid value [{0}] for [{1}]
modcluster.error.parse=Error parsing response header for command {0}
Modified:
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java
===================================================================
---
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java 2008-09-25
06:43:12 UTC (rev 1901)
+++
trunk/mod_cluster/src/main/java/org/jboss/modcluster/mcmp/impl/DefaultMCMPHandler.java 2008-09-25
15:09:40 UTC (rev 1902)
@@ -785,7 +785,7 @@
else
{
proxy.setState(Proxy.State.ERROR);
- log.error(this.sm.getString("modcluster.error.other", command,
proxy, errorType, message));
+ log.error(this.sm.getString("modcluster.error.other", new
Object[] { command, proxy, errorType, message, Integer.valueOf(status) }));
}
}
catch (IOException e)
Show replies by date