Skip to content

Commit acb6745

Browse files
authored
Update container-insights-logging-v2.md
1 parent 3ec8b1e commit acb6745

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-monitor/containers/container-insights-logging-v2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Customers can enable the ContainerLogV2 schema at the cluster level through eith
4141
Follow the instructions to configure an existing ConfigMap or to use a new one.
4242

4343
>[!NOTE]
44-
> Because ContainerLogV2 can be enabled through either the DCR and ConfigMap, the ContainerLogV2 setting of the ConfigMap will take precedence. Stdout and stderr logs will only be ingested to the ContainerLog table when both the DCR and ConfigMap are set to off.
44+
> Because ContainerLogV2 can be enabled through either the DCR and ConfigMap, when both are enabled the ContainerLogV2 setting of the ConfigMap will take precedence. Stdout and stderr logs will only be ingested to the ContainerLog table when both the DCR and ConfigMap are explicitly set to off.
4545
4646
### Configure via an existing Data Collection Rule (DCR)
4747

@@ -101,14 +101,14 @@ This applies to the scenario where you have already enabled container insights f
101101
>* The restart is a rolling restart for all ama-logs pods. It won't restart all of them at the same time.
102102

103103
## Multi-line logging in Container Insights (preview)
104-
Azure Monitor - Container insights now supports multiline logging. With this feature enabled, previously split container logs are stitched together and sent as single entries to the ContainerLogV2 table. Customers are able see container log lines upto to 64 KB (up from the existing 16 KB limit). If the stitched log line is larger than 64 KB, it gets truncated due to Log Analytics limits.
104+
Azure Monitor container insights now supports multiline logging. With this feature enabled, previously split container logs are stitched together and sent as single entries to the ContainerLogV2 table. Customers are able see container log lines upto to 64 KB (up from the existing 16 KB limit). If the stitched log line is larger than 64 KB, it gets truncated due to Log Analytics limits.
105105
Additionally, the feature also adds support for .NET and Go stack traces, which appear as single entries instead of being split into multiple entries in ContainerLogV2 table.
106106

107107
### Pre-requisites
108108

109109
Customers must [enable ContainerLogV2](./container-insights-logging-v2.md#enable-the-containerlogv2-schema) for multi-line logging to work.
110110

111-
### How to enable - This is currently a preview feature
111+
### How to enable
112112
Multi-line logging can be enabled by setting *enable_multiline_logs* flag to “true” in [the config map](https://github.com/microsoft/Docker-Provider/blob/ci_prod/kubernetes/container-azm-ms-agentconfig.yaml#L49)
113113

114114
### Next steps for Multi-line logging

0 commit comments

Comments
 (0)