This closes #4193
This commit is contained in:
commit
fcd9ff2a86
|
@ -386,13 +386,6 @@ public class OperationContextImpl implements OperationContext {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuffer buffer = new StringBuffer();
|
|
||||||
if (tasks != null) {
|
|
||||||
for (TaskHolder hold : tasks) {
|
|
||||||
buffer.append("Task = " + hold + "\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return "OperationContextImpl [" + hashCode() + "] [minimalStore=" + minimalStore +
|
return "OperationContextImpl [" + hashCode() + "] [minimalStore=" + minimalStore +
|
||||||
", storeLineUp=" +
|
", storeLineUp=" +
|
||||||
storeLineUpField +
|
storeLineUpField +
|
||||||
|
@ -416,7 +409,6 @@ public class OperationContextImpl implements OperationContext {
|
||||||
errorMessage +
|
errorMessage +
|
||||||
", executorsPending=" +
|
", executorsPending=" +
|
||||||
executorsPendingField +
|
executorsPendingField +
|
||||||
", executor=" + this.executor +
|
"]";
|
||||||
"]" + buffer.toString();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1722,7 +1722,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
||||||
|
|
||||||
if (AuditLogger.isBaseLoggingEnabled()) {
|
if (AuditLogger.isBaseLoggingEnabled()) {
|
||||||
AuditLogger.createCoreSession(this, connection.getSubject(), connection.getRemoteAddress(), name, username, "****", minLargeMessageSize, connection, autoCommitSends,
|
AuditLogger.createCoreSession(this, connection.getSubject(), connection.getRemoteAddress(), name, username, "****", minLargeMessageSize, connection, autoCommitSends,
|
||||||
autoCommitAcks, preAcknowledge, xa, defaultAddress, callback, autoCreateQueues, context, prefixes);
|
autoCommitAcks, preAcknowledge, xa, defaultAddress, callback, autoCreateQueues, prefixes);
|
||||||
}
|
}
|
||||||
|
|
||||||
final ServerSessionImpl session = internalCreateSession(name, username, password, validatedUser, minLargeMessageSize, connection, autoCommitSends, autoCommitAcks, preAcknowledge, xa, defaultAddress, callback, context, autoCreateQueues, prefixes, securityDomain);
|
final ServerSessionImpl session = internalCreateSession(name, username, password, validatedUser, minLargeMessageSize, connection, autoCommitSends, autoCommitAcks, preAcknowledge, xa, defaultAddress, callback, context, autoCreateQueues, prefixes, securityDomain);
|
||||||
|
|
|
@ -189,7 +189,7 @@ public class LoggingActiveMQServerPlugin implements ActiveMQServerPlugin, Serial
|
||||||
if (logAll || logSessionEvents) {
|
if (logAll || logSessionEvents) {
|
||||||
LoggingActiveMQServerPluginLogger.LOGGER.beforeCreateSession(name, username, minLargeMessageSize, connection,
|
LoggingActiveMQServerPluginLogger.LOGGER.beforeCreateSession(name, username, minLargeMessageSize, connection,
|
||||||
autoCommitSends, autoCommitAcks, preAcknowledge,
|
autoCommitSends, autoCommitAcks, preAcknowledge,
|
||||||
xa, publicAddress, context);
|
xa, publicAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.activemq.artemis.core.server.plugin.impl;
|
||||||
import org.apache.activemq.artemis.api.core.QueueConfiguration;
|
import org.apache.activemq.artemis.api.core.QueueConfiguration;
|
||||||
import org.apache.activemq.artemis.api.core.SimpleString;
|
import org.apache.activemq.artemis.api.core.SimpleString;
|
||||||
import org.apache.activemq.artemis.core.config.BridgeConfiguration;
|
import org.apache.activemq.artemis.core.config.BridgeConfiguration;
|
||||||
import org.apache.activemq.artemis.core.persistence.OperationContext;
|
|
||||||
import org.apache.activemq.artemis.core.postoffice.QueueBinding;
|
import org.apache.activemq.artemis.core.postoffice.QueueBinding;
|
||||||
import org.apache.activemq.artemis.core.postoffice.RoutingStatus;
|
import org.apache.activemq.artemis.core.postoffice.RoutingStatus;
|
||||||
import org.apache.activemq.artemis.core.security.SecurityAuth;
|
import org.apache.activemq.artemis.core.security.SecurityAuth;
|
||||||
|
@ -153,7 +152,7 @@ public interface LoggingActiveMQServerPluginLogger extends BasicLogger {
|
||||||
|
|
||||||
@LogMessage(level = Logger.Level.DEBUG)
|
@LogMessage(level = Logger.Level.DEBUG)
|
||||||
@Message(id = 843000, value = "beforeCreateSession called with name: {0}, username: {1}, minLargeMessageSize: {2}, connection: {3},"
|
@Message(id = 843000, value = "beforeCreateSession called with name: {0}, username: {1}, minLargeMessageSize: {2}, connection: {3},"
|
||||||
+ " autoCommitSends: {4}, autoCommitAcks: {5}, preAcknowledge: {6}, xa: {7}, publicAddress: {8}, context: {9}",
|
+ " autoCommitSends: {4}, autoCommitAcks: {5}, preAcknowledge: {6}, xa: {7}, publicAddress: {8}",
|
||||||
format = Message.Format.MESSAGE_FORMAT)
|
format = Message.Format.MESSAGE_FORMAT)
|
||||||
void beforeCreateSession(String name,
|
void beforeCreateSession(String name,
|
||||||
String username,
|
String username,
|
||||||
|
@ -163,8 +162,7 @@ public interface LoggingActiveMQServerPluginLogger extends BasicLogger {
|
||||||
boolean autoCommitAcks,
|
boolean autoCommitAcks,
|
||||||
boolean preAcknowledge,
|
boolean preAcknowledge,
|
||||||
boolean xa,
|
boolean xa,
|
||||||
String publicAddress,
|
String publicAddress);
|
||||||
OperationContext context);
|
|
||||||
|
|
||||||
@LogMessage(level = Logger.Level.DEBUG)
|
@LogMessage(level = Logger.Level.DEBUG)
|
||||||
@Message(id = 843001, value = "beforeCloseSession called with session name : {0}, session: {1}, failed: {2}", format = Message.Format.MESSAGE_FORMAT)
|
@Message(id = 843001, value = "beforeCloseSession called with session name : {0}, session: {1}, failed: {2}", format = Message.Format.MESSAGE_FORMAT)
|
||||||
|
|
Loading…
Reference in New Issue