ARTEMIS-5073 formatting error of AMQ601771 audit log event
This commit is contained in:
parent
ac5b4b9224
commit
a89c452ab7
|
@ -2668,12 +2668,12 @@ public interface AuditLogger {
|
|||
@LogMessage(id = 601770, value = "User {} is clearing authorization cache on target resource: {}", level = LogMessage.Level.INFO)
|
||||
void clearAuthorizationCache(String user, Object source);
|
||||
|
||||
static void getCurrentTimeMillis() {
|
||||
BASE_LOGGER.getCurrentTimeMillis(getCaller());
|
||||
static void getCurrentTimeMillis(Object source) {
|
||||
BASE_LOGGER.getCurrentTimeMillis(getCaller(), source);
|
||||
}
|
||||
|
||||
@LogMessage(id = 601771, value = "User {} is getting name on target resource: {}", level = LogMessage.Level.INFO)
|
||||
void getCurrentTimeMillis(Object source);
|
||||
void getCurrentTimeMillis(String user, Object source);
|
||||
|
||||
static void getProducerWindowSize(Object source) {
|
||||
BASE_LOGGER.getProducerWindowSize(getCaller(), source);
|
||||
|
|
|
@ -230,7 +230,7 @@ public class ActiveMQServerControlImpl extends AbstractControl implements Active
|
|||
@Override
|
||||
public long getCurrentTimeMillis() {
|
||||
if (AuditLogger.isBaseLoggingEnabled()) {
|
||||
AuditLogger.getCurrentTimeMillis();
|
||||
AuditLogger.getCurrentTimeMillis(this.server);
|
||||
}
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue