aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Change BicepCliCompiler success log from Information to Debug

Open Copilot opened this issue 4 months ago • 0 comments

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?
    • [x] Yes. Ready to ship.
    • [ ] No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • [ ] Yes
    • [x] 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
    • [x] 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
    • [x] 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 avatar Nov 13 '25 08:11 Copilot