A Container Apps application needs to emit structured JSON logs readable in Log Analytics. What is the recommended approach?
- A Write logs to a file and configure a log agent
- B Write JSON to stdout; Container Apps routes stdout to Log Analytics automatically (correct answer)
- C Use Serilog with a custom sink
- D Configure a separate log forwarder container
Shortcut: Container Apps collects stdout/stderr from containers and forwards them to the associated Log Analytics workspace. Writing structured JSON to stdout enables KQL queries with | extend or | parse operators.