ARTEMIS-4557 fix audit logging
This commit is contained in:
parent
43166e24ea
commit
42ddf99ca8
|
@ -2675,4 +2675,11 @@ public interface AuditLogger {
|
|||
@LogMessage(id = 601771, value = "User {} is getting name on target resource: {}", level = LogMessage.Level.INFO)
|
||||
void getCurrentTimeMillis(Object source);
|
||||
|
||||
static void getProducerWindowSize(Object source) {
|
||||
BASE_LOGGER.getProducerWindowSize(getCaller(), source);
|
||||
}
|
||||
|
||||
@LogMessage(id = 601772, value = "User {} is getting producerWindowSize on target resource: {}", level = LogMessage.Level.INFO)
|
||||
void getProducerWindowSize(String user, Object source);
|
||||
|
||||
}
|
||||
|
|
|
@ -324,7 +324,7 @@ public class ClusterConnectionControlImpl extends AbstractControl implements Clu
|
|||
@Override
|
||||
public long getProducerWindowSize() {
|
||||
if (AuditLogger.isBaseLoggingEnabled()) {
|
||||
AuditLogger.getTopology(this.clusterConnection);
|
||||
AuditLogger.getProducerWindowSize(this.clusterConnection);
|
||||
}
|
||||
clearIO();
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue