ruanwenjun commented on a change in pull request #6322:
URL: https://github.com/apache/dolphinscheduler/pull/6322#discussion_r786794086
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/audit/AuditPublishService.java
##########
@@ -63,7 +63,7 @@ private void init() {
*/
public void publish(AuditMessage message) {
if (auditConfiguration.getEnabled() &&
!auditMessageQueue.offer(message)) {
- logger.error("add audit message failed {}", message.toString());
+ logger.error("add audit message failed {0}", message);
Review comment:
```suggestion
logger.error("add audit message failed {}", message);
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]