aspire
aspire copied to clipboard
Change BicepCliCompiler success log from Information to Debug
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 usesLogDebuginstead ofLogInformation
// 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
- If yes, did you have an API Review for it?
- [x] No
- [ ] Yes
- 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
- If yes, have you done a threat model and had a security review?
- [x] No
- [ ] Yes
- Does the change require an update in our Aspire docs?
- [ ] Yes
- Link to aspire-docs issue (consider using one of the following templates):
- [x] No
- [ ] Yes
[!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:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
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.