Skip to content

Commit c6146a1

Browse files
authored
Update faq.yml
1 parent 762d2ab commit c6146a1

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-
Container insights now supports multi-line logging, 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.
1104+
Container insights now supports multi-line logging, 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. You can configure all the services to write in JSON format, and then Docker/Moby writes them as a single line
11051105
1106-
An alternative is you can also wrap your log as a JSON object as shown in the following example for a sample Node.js
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 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)