Skip to content

Clean up loggings - #2273

Merged
Goooler merged 2 commits into
mainfrom
g/20260903/logger
Sep 3, 2026
Merged

Clean up loggings#2273
Goooler merged 2 commits into
mainfrom
g/20260903/logger

Conversation

@Goooler

@Goooler Goooler commented Sep 3, 2026

Copy link
Copy Markdown
Member

No description provided.

@Goooler Goooler changed the title Remove redundant loggings Clean up loggings Sep 3, 2026
@Goooler
Goooler requested a lite review from Copilot September 3, 2026 06:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are limited to logging cleanup and corresponding test adjustments, with no evident behavioral regressions.

Pull request overview

This PR refines logging behavior across the Shadow plugin and its tasks to reduce noise while keeping useful diagnostics, and updates functional tests accordingly.

Changes:

  • Add targeted debug logs for included dependencies and resource transformations to aid troubleshooting without increasing default verbosity.
  • Simplify several conditional logging branches (early-returns instead of “skipping …” info logs).
  • Adjust manifest-attribute logging to be more accurate and update functional tests to stop asserting on log output.
File summaries
File Description
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt Reduces/clarifies task logging (minimization, dependency inclusion, manifest attribute messages) while keeping behavior consistent.
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.kt Adds debug visibility into which transformer handled a given resource.
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/ShadowPlugin.kt Removes “skipping” info log for Develocity integration and simplifies control flow.
src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/JavaPluginsTest.kt Stops asserting on log output; keeps validating resulting manifest behavior instead.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Goooler
Goooler merged commit 7b938f0 into main Sep 3, 2026
5 checks passed
@Goooler
Goooler deleted the g/20260903/logger branch September 3, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants