ARTEMIS-5073 formatting error of AMQ601771 audit log event

This commit is contained in:
Justin Bertram 2024-09-28 12:05:50 -05:00
parent ac5b4b9224
commit a89c452ab7
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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();
}