[
https://issues.apache.org/jira/browse/ARTEMIS-3329?focusedWorklogId=608089&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-608089
]
ASF GitHub Bot logged work on ARTEMIS-3329:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jun/21 19:59
Start Date: 07/Jun/21 19:59
Worklog Time Spent: 10m
Work Description: brusdev commented on a change in pull request #3614:
URL: https://github.com/apache/activemq-artemis/pull/3614#discussion_r646899182
##########
File path:
artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java
##########
@@ -2833,4 +2833,30 @@ static void isAutoCreated(Object source) {
@LogMessage(level = Logger.Level.INFO)
@Message(id = 601747, value = "User {0} is getting auto-created property on
target resource: {1} {2}", format = Message.Format.MESSAGE_FORMAT)
void isAutoCreated(String user, Object source, Object... args);
+
+ static void purge(Object source) {
+ LOGGER.purge(getCaller(), source);
+ }
+
+ @LogMessage(level = Logger.Level.INFO)
+ @Message(id = 601748, value = "User {0} is purging target resource: {1}
{2}", format = Message.Format.MESSAGE_FORMAT)
+ void purge(String user, Object source, Object... args);
+
+
+ static void purgeAddressSuccess(String queueName) {
+ RESOURCE_LOGGER.purgeAddressSuccess(getCaller(), queueName);
+ }
+
+ @LogMessage(level = Logger.Level.INFO)
+ @Message(id = 601749, value = "User {0} has purged address {1}", format =
Message.Format.MESSAGE_FORMAT)
+ void purgeAddressSuccess(String user, String queueName);
+
+
+ static void purgeAddressFailure(String queueName) {
+ RESOURCE_LOGGER.purgeAddressFailure(getCaller(), queueName);
+ }
+
+ @LogMessage(level = Logger.Level.INFO)
Review comment:
log the purgeAddressFailure with a a warning with the exception details
could help investigate on failures because retrieving the exception details
from console isn't immediate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 608089)
Time Spent: 20m (was: 10m)
> Add ability to purge all queues on an address
> ---------------------------------------------
>
> Key: ARTEMIS-3329
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3329
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)