You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, Dapr logs are outputted as space-separated strings, such as time="2024-02-19T22:55:48.31373384Z" level=info msg="Example message". This is inconvenient to parse, and it is also inconsistent with my application logs which I am able to output as JSON.
Describe the solution you'd like.
I'd like an option to output Dapr logs in JSON format.
Describe alternatives you've considered.
Currently, I'm working around this issue by parsing the space-separated string, which is suboptimal.
Additional context.
Using the Dapr runtime directly, we can enable JSON output using the argument --log-as-json (link).
If this is already possible, please let me know.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, Dapr logs are outputted as space-separated strings, such as
time="2024-02-19T22:55:48.31373384Z" level=info msg="Example message"
. This is inconvenient to parse, and it is also inconsistent with my application logs which I am able to output as JSON.Describe the solution you'd like.
I'd like an option to output Dapr logs in JSON format.
Describe alternatives you've considered.
Currently, I'm working around this issue by parsing the space-separated string, which is suboptimal.
Additional context.
Using the Dapr runtime directly, we can enable JSON output using the argument
--log-as-json
(link).If this is already possible, please let me know.
The text was updated successfully, but these errors were encountered: