Skip to content

Improvement: De-escalated Logger Clause for ACAR Orders#8452

Merged
IllianiBird merged 1 commit into
MegaMek:mainfrom
IllianiBird:acarOrderLoggerLevel
Dec 11, 2025
Merged

Improvement: De-escalated Logger Clause for ACAR Orders#8452
IllianiBird merged 1 commit into
MegaMek:mainfrom
IllianiBird:acarOrderLoggerLevel

Conversation

@IllianiBird

Copy link
Copy Markdown
Collaborator

info -> debug to reduce log spam of non-human readable objects

@IllianiBird IllianiBird self-assigned this Dec 10, 2025
@IllianiBird IllianiBird requested a review from a team as a code owner December 10, 2025 18:37
@codecov

codecov Bot commented Dec 10, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 11.41%. Comparing base (3c6516f) to head (1cb05de).
⚠️ Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
...Q/src/mekhq/campaign/autoResolve/OrderFactory.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8452   +/-   ##
=========================================
  Coverage     11.40%   11.41%           
- Complexity     7329     7335    +6     
=========================================
  Files          1281     1281           
  Lines        164600   164593    -7     
  Branches      24783    24777    -6     
=========================================
+ Hits          18780    18784    +4     
+ Misses       143896   143887    -9     
+ Partials       1924     1922    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Pull request overview

This PR reduces logging verbosity by changing the log level from info to debug for ACAR (Auto-Combat Auto-Resolver) order creation. The change addresses log spam by moving detailed, non-human-readable object logging to the debug level, which is more appropriate for internal operational details.

Key Changes:

  • Downgraded logging level for order addition from info to debug in OrderFactory.addOrder()

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Sleet01 Sleet01 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@IllianiBird IllianiBird merged commit e0d8233 into MegaMek:main Dec 11, 2025
14 checks passed
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.

3 participants