Skip to content

Commit

Permalink
[ContainerApp] Update history for container app (#6978)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliehzl committed Nov 10, 2023
1 parent b348d16 commit 6eb01fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/containerapp/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ upcoming
* 'az containerapp env dapr-component init': support initializing Dapr components and dev services for an environment
* 'az containerapp patch apply': support image patching for java application
* Upgrade api-version to 2023-08-01-preview
* 'az container app create/update': support --logs-dynamic-json-columns/-j to configure whether to parse json string log into dynamic json columns
* 'az container app create/update/up': Remove the region check for the Cloud Build feature
* 'az container app create/update/up': Improve logs on the local buildpack source to cloud flow
* 'az containerapp env create/update': Support --logs-dynamic-json-columns/-j to configure whether to parse json string log into dynamic json columns
* 'az containerapp create/update/up': Remove the region check for the Cloud Build feature
* 'az containerapp create/update/up': Improve logs on the local buildpack source to cloud flow

0.3.43
++++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def set_up_app_log_configuration(self):
logs_destination = None if logs_destination == "none" else logs_destination
safe_set(self.managed_env_def, "properties", "appLogsConfiguration", "destination", value=logs_destination)

if logs_destination == "azure-monitor":
safe_set(self.managed_env_def, "properties", "appLogsConfiguration", "logAnalyticsConfiguration", value=None)

if self.get_argument_logs_customer_id() and self.get_argument_logs_key():
safe_set(self.managed_env_def, "properties", "appLogsConfiguration", "logAnalyticsConfiguration", "customerId",
value=self.get_argument_logs_customer_id())
Expand Down

0 comments on commit 6eb01fb

Please sign in to comment.