Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 13, 2025

Description

Reduces log noise by demoting the Bicep compilation success message from Information to Debug level. Error logs remain at Error level.

Changed:

  • BicepCliCompiler.CompileBicepToArmAsync: Success message now uses LogDebug instead of LogInformation
// Before
_logger.LogInformation("Bicep compilation for {BicepFilePath} succeeded.", bicepFilePath);

// After
_logger.LogDebug("Bicep compilation for {BicepFilePath} succeeded.", bicepFilePath);

All process output logs (stdout/stderr) were already at Debug level. This change brings the success message in line with the existing logging pattern.

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /usr/local/bin/bicep build /tmp/aspire25Xek9/teststorage.module.bicep --stdout (dns block)
    • Triggering command: /usr/local/bin/bicep build /tmp/aspire26wJRP/env.module.bicep --stdout (dns block)
    • Triggering command: /usr/local/bin/bicep build /tmp/aspireqmpa1D/teststorage.module.bicep --stdout (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Change the information logs in BicepCliCompiler to debug


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Nov 13, 2025
Copilot AI changed the title [WIP] Change information logs to debug in BicepCliCompiler Change BicepCliCompiler success log from Information to Debug Nov 13, 2025
Copilot AI requested a review from davidfowl November 13, 2025 09:16
Copilot finished work on behalf of davidfowl November 13, 2025 09:16
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