Question
How to find out who cancelled a particular task in Task Manager?
Resolution
- Check the time when the task was cancelled.
- Login to OA MN server.
Search through the corresponding
/var/log/pa/core.log
for an entry like below:# zgrep -A10 -B10 -E "cancelled_by.*c.*20101628" /var/log/pa/core.log Aug 2 16:42:22.399 : DBG [UI:42baa161:1041367:1533220942065 1:12762:7f3224ff9700 TaskManager ]: [ Tasks::impl::TaskManager_impl::cancelTasks] ===> ENTRY ... Aug 2 16:42:22.404 : DBG [UI:42baa161:1041367:1533220942065 p:-default-threadpool;-w:-Idle:30707 pau]: c.p.p.s.d.e.DBServiceBean ' UPDATE tm_tasks SET next_start = ? , status = ? , run_num = ? , cancelled_by = ? WHERE task_id = ?' Parameters: [2018-08-02 11:50:19.0, c, 5, 0, 20103090] [sqlpid: 15481]
Login to the UI server and search through
/var/log/pa/pui/pui.log
for the bw_id found in the previous step -42baa161
:16:22:08.564 [default task-151] DEBUG c.plesk.p2.security.SecurityManager - Storing new session in cache:42baa1613050b98e8aac125ee8bb1011
Scroll up and track the login process by thread id
default task-151
:16:22:08.545 [default task-151] DEBUG c.p.p.c.c.p.m.actions.PLoginHandler - For user admin
- Navigate to PCP -> Users and find the user by username.
Feature Request POA-80209: "Ability to record user who cancelled task" has been submitted to the Maintenance Team. Please contact your Account Manager or Pooled Technical Associates team (pta@odin.com) to trace the status of the issue.