core icon indicating copy to clipboard operation
core copied to clipboard

Add triggering user to cache flush log messages

Open patrick-schweiger opened this issue 4 months ago • 2 comments

Problem Statement

Maintenance tab log messages currently record the user who triggered an action for most operations (reindex, restarts, etc.), but cache flush log messages don't include the triggering user.

Current Behavior: Cache flush events are logged without the user who executed the flush.

Steps to Reproduce

Review the logs when a cache is triggered and the logs won't display the triggering user currently.

Acceptance Criteria

Cache flush log messages should include the triggering user, consistent with other maintenance task logging.

dotCMS Version

latest

Severity

Low - Minor issue or cosmetic

Links

https://dotcms.freshdesk.com/a/tickets/38091

patrick-schweiger avatar Jul 31 '26 13:07 patrick-schweiger

Passed QA

Logs displaying info about the user triggering the cache

12:44:26.119 INFO action.ViewCMSMaintenanceAction - User 'dotcms.org.1' is flushing All Caches

gortiz-dotcms avatar Aug 13 '26 12:08 gortiz-dotcms