Revert "[ARTEMIS-1171] Improve log readability around clustering"
This reverts commit 744221dcb5
.
Broke o.a.a.a.t.i.m.QueueControlUsingCoreTest.testListDeliveringMessages
This commit is contained in:
parent
4a6dc4f7ba
commit
5a9830af17
|
@ -129,8 +129,8 @@ public final class DiscoveryGroupConfiguration implements Serializable {
|
|||
public String toString() {
|
||||
return "DiscoveryGroupConfiguration{" +
|
||||
"name='" + name + '\'' +
|
||||
",\n refreshTimeout=" + refreshTimeout +
|
||||
",\n discoveryInitialWaitTimeout=" + discoveryInitialWaitTimeout +
|
||||
"}";
|
||||
", refreshTimeout=" + refreshTimeout +
|
||||
", discoveryInitialWaitTimeout=" + discoveryInitialWaitTimeout +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -252,16 +252,15 @@ public class TransportConfiguration implements Serializable {
|
|||
|
||||
public static String toStringParameters(Map<String, Object> params, Map<String, Object> extraProps) {
|
||||
StringBuilder str = new StringBuilder();
|
||||
str.append("{");
|
||||
if (params != null) {
|
||||
if (!params.isEmpty()) {
|
||||
str.append("\n\t\t\t");
|
||||
str.append("?");
|
||||
}
|
||||
|
||||
boolean first = true;
|
||||
for (Map.Entry<String, Object> entry : params.entrySet()) {
|
||||
if (!first) {
|
||||
str.append("\n\t\t\t");
|
||||
str.append("&");
|
||||
}
|
||||
|
||||
String key = entry.getKey();
|
||||
|
@ -281,7 +280,7 @@ public class TransportConfiguration implements Serializable {
|
|||
if (extraProps != null) {
|
||||
for (Map.Entry<String, Object> entry : extraProps.entrySet()) {
|
||||
if (!first) {
|
||||
str.append("\n\t\t\t");
|
||||
str.append("&");
|
||||
}
|
||||
|
||||
String key = entry.getKey();
|
||||
|
@ -293,7 +292,6 @@ public class TransportConfiguration implements Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
str.append("\n\t\t}");
|
||||
return str.toString();
|
||||
}
|
||||
|
||||
|
|
|
@ -1476,12 +1476,12 @@ public final class ServerLocatorImpl implements ServerLocatorInternal, Discovery
|
|||
return "ServerLocatorImpl (identity=" + identity +
|
||||
") [initialConnectors=" +
|
||||
Arrays.toString(initialConnectors == null ? new TransportConfiguration[0] : initialConnectors) +
|
||||
",\n discoveryGroupConfiguration=" +
|
||||
", discoveryGroupConfiguration=" +
|
||||
discoveryGroupConfiguration +
|
||||
"]";
|
||||
}
|
||||
return "ServerLocatorImpl [initialConnectors=" + Arrays.toString(initialConnectors == null ? new TransportConfiguration[0] : initialConnectors) +
|
||||
",\n discoveryGroupConfiguration=" +
|
||||
", discoveryGroupConfiguration=" +
|
||||
discoveryGroupConfiguration +
|
||||
"]";
|
||||
}
|
||||
|
|
|
@ -149,6 +149,6 @@ public final class TopologyMemberImpl implements TopologyMember {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TopologyMember[\n\t\tid = " + nodeId + "\n\t\tconnector=" + connector + "\n\t\tbackupGroupName=" + backupGroupName + "\n\t\tscaleDownGroupName=" + scaleDownGroupName + "]";
|
||||
return "TopologyMember[id = " + nodeId + ", connector=" + connector + ", backupGroupName=" + backupGroupName + ", scaleDownGroupName=" + scaleDownGroupName + "]";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -742,13 +742,13 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "\n " + this.getClass().getSimpleName() + "@" +
|
||||
return this.getClass().getSimpleName() + "@" +
|
||||
Integer.toHexString(System.identityHashCode(this)) +
|
||||
"\n [name=" +
|
||||
" [name=" +
|
||||
name +
|
||||
",\n queue=" +
|
||||
", queue=" +
|
||||
queue +
|
||||
"\n targetConnector=" +
|
||||
" targetConnector=" +
|
||||
this.serverLocator +
|
||||
"]";
|
||||
}
|
||||
|
|
|
@ -1961,7 +1961,7 @@ public class QueueImpl implements Queue {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "QueueImpl[name=" + name.toString() + ",\n postOffice=" + this.postOffice + ",\n temp=" + this.temporary + "]@" + Integer.toHexString(System.identityHashCode(this));
|
||||
return "QueueImpl[name=" + name.toString() + ", postOffice=" + this.postOffice + ", temp=" + this.temporary + "]@" + Integer.toHexString(System.identityHashCode(this));
|
||||
}
|
||||
|
||||
private synchronized void internalAddTail(final MessageReference ref) {
|
||||
|
|
Loading…
Reference in New Issue