azure-functions-host
azure-functions-host copied to clipboard
Diagnostic for FunctionAppLogs does sends datetime using "bad" format
Investigative information
- Timestamp: 2022-06-22
- Function App version: 4.6.1.1
- Region: North Europe
Repro steps
- Set up diagnostic settings to send FunctionAppLogs (in my case it is logz.io integration provided by Microsoft)
- Invoke a function to produce logs
- check the msg.time property, it looks like that: "06/22/2022 10:24:59"
Expected behavior
I expect msg.time to be more precise and use ISO8601 format and not this custom format (which is probably US format): "time": "2022-06-22T10:20:22.1973786Z"
Actual behavior
msg.time property looks like that: "06/22/2022 10:24:59"
Known workarounds
Unknown
Related information
- Programming language used : net6/C#
Other azure resources with diagnostic settings use the standard format, e.g. Azure Api Management, this is an example: "time": "2022-06-22T10:20:22.1973786Z",
Hi @ilya-scale Thank you for the feedback, we will discuss this issue internally and let you know about the findings soon.