Skip to content

Conversation

@AjitPadhi-Microsoft
Copy link
Contributor

Purpose

  • This pull request updates the infrastructure deployment templates to improve logging configuration and ensure compatibility with supported Azure API versions. The main changes include adding new logging environment variables and downgrading the API version for several Azure resource deployments from "2025-04-01" to the stable "2022-09-01". Additionally, the Bicep template generator version has been reverted to an earlier release.

Logging configuration improvements:

  • Added new environment variables for logging levels (AZURE_BASIC_LOGGING_LEVEL, AZURE_PACKAGE_LOGGING_LEVEL, and AZURE_LOGGING_PACKAGES) to the web site deployment in main.bicep.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Prajwal-Microsoft and others added 2 commits November 28, 2025 10:13
chore: Merging from main branch
* Implementation of Configurable Logging Control via Flag

* bicep updated

* updated bicep

* updated custom bicep
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request enhances logging configuration flexibility and ensures infrastructure deployment compatibility by downgrading Azure Resource Manager API versions. The changes introduce configurable logging levels for basic application logging and Azure SDK packages, while reverting from an potentially unsupported "2025-04-01" API version to the stable "2022-09-01" version for Microsoft.Resources/deployments across the infrastructure templates.

Key Changes:

  • Added three new environment variables (AZURE_BASIC_LOGGING_LEVEL, AZURE_PACKAGE_LOGGING_LEVEL, AZURE_LOGGING_PACKAGES) to make logging configuration dynamic and flexible
  • Downgraded Microsoft.Resources/deployments API version from "2025-04-01" to "2022-09-01" throughout infrastructure templates
  • Reverted Bicep template generator from version 0.39.26.7824 to 0.37.4.10188

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/App/backend/common/config.py Added configuration properties for AZURE_BASIC_LOGGING_LEVEL and AZURE_PACKAGE_LOGGING_LEVEL with sensible defaults
src/App/app.py Replaced hardcoded logging configuration with dynamic configuration using new environment variables; supports comma-separated list of Azure packages to configure
src/App/.env.sample Added documentation for new logging environment variables with example values
infra/main.bicep Added logging environment variables to web site deployment configuration
infra/main_custom.bicep Added logging environment variables to web site deployment configuration
infra/main.json Downgraded all Microsoft.Resources/deployments API versions from "2025-04-01" to "2022-09-01"; updated Bicep generator version metadata; added logging environment variables to web site deployment

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

@Roopan-Microsoft Roopan-Microsoft merged commit 9fb2c21 into main Dec 1, 2025
14 checks passed
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

🎉 This PR is included in version 1.10.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants