Skip to content

[PULP-1117] Add task-specific log capturing to task diagnostics mechanism#7217

Merged
dralley merged 6 commits intopulp:mainfrom
dralley:task-logging
Feb 18, 2026
Merged

[PULP-1117] Add task-specific log capturing to task diagnostics mechanism#7217
dralley merged 6 commits intopulp:mainfrom
dralley:task-logging

Conversation

@dralley
Copy link
Contributor

@dralley dralley commented Jan 17, 2026

TASK_DIAGNOSTICS and X-Task-Diagnostics can now capture all logs for specific tasks and present those via the profile artifacts mechanism. Because the logs are specific to the task, the logs are linear and not broken up by unrelated logs from other services/workers/tasks.

Assisted By: Claude

closes #7214

@dralley dralley force-pushed the task-logging branch 2 times, most recently from 5d9ca0f to 21eb4d6 Compare January 17, 2026 05:06
@github-actions github-actions bot removed the no-issue label Jan 18, 2026
@dralley dralley force-pushed the task-logging branch 2 times, most recently from f8b12d0 to 5532ddc Compare January 18, 2026 17:51
@github-actions github-actions bot removed the wip label Jan 21, 2026
@dralley dralley marked this pull request as ready for review January 21, 2026 01:44
@dralley
Copy link
Contributor Author

dralley commented Jan 21, 2026

@bmbouter @mdellweg Since last push:

  • DEBUG logging "upgrade" functionality moved to separate feature
    • I can split this off into a separate PR if desired
  • I made sure that the CID was logged, and then undid that, because it's actually pointless to log the CID if none of the non-task context is there to look at anyway. Obviously logs going to the console already have the CID inserted.

@dralley dralley force-pushed the task-logging branch 3 times, most recently from 291e7b6 to b9f4e9d Compare January 21, 2026 13:09
@dralley dralley changed the title Add task-specific log capturing to task diagnostics mechanism [PULP-1117] Add task-specific log capturing to task diagnostics mechanism Jan 21, 2026
These logs just aren't very helpful, and they're extremely verbose, to
the point where they inflate log size by orders of magnitude and
meaningfully slow execution.
TASK_DIAGNOSTICS and X-Task-Diagnostics can now capture all logs for
specific tasks. Because the logs are specific to the task, the logs
are linear and not broken up by unrelated logs from other
services/workers/tasks.

Assisted By: Claude

closes pulp#7215
Temporarily change the root logger's log level, but make sure that the
console logger is still only logging at INFO level.

closes pulp#7214
@dralley dralley enabled auto-merge (rebase) February 18, 2026 22:34
@dralley dralley merged commit 1118c26 into pulp:main Feb 18, 2026
23 of 25 checks passed
@dralley dralley deleted the task-logging branch February 18, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

As a user, I can enable DEBUG logging level for individual tasks

3 participants

Comments