Skip to content

Commit e1a043d

Browse files
authored
Merge pull request #234732 from ibrar2411/patch-9
Update faq.yml
2 parents fe2ba52 + 2d1893f commit e1a043d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/faq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,9 +1101,9 @@ sections:
11011101
- question: |
11021102
How do I enable multi-line logging?
11031103
answer: |
1104-
Currently, Container insights don't support multi-line logging, but workarounds are available. You can configure all the services to write in JSON format, and then Docker/Moby writes them as a single line.
1104+
Container insights now supports multi-line logging (preview), for more information on how to enable, checkout the [Multi-line logging in Container Insights](https://learn.microsoft.com/en-us/azure/azure-monitor/containers/container-insights-logging-v2) docs.
11051105
1106-
For example, you can wrap your log as a JSON object as shown in the following example for a sample Node.js application:
1106+
As an alternative you can also configure all the services to write in JSON format, and then Docker/Moby writes them as a single line. For example, you can wrap your log as a JSON object as shown in the following example for a sample Node.js application
11071107
11081108
```
11091109
console.log(json.stringify({

0 commit comments

Comments
 (0)