Skip to content

Logging in JSON format #27

@lucasfcnunes

Description

@lucasfcnunes

Is your feature request related to a problem? Please describe.

Currently, logs are not consistently formatted in JSON, which makes parsing and analyzing logs programmatically more challenging. This can be particularly frustrating when integrating with log aggregation tools that prefer or require JSON formatting.

Describe the solution you'd like

I would like the logging system to support output in JSON format. Each log entry should be structured as a JSON object, containing fields such as timestamp, log level, message, and other contextual metadata.

Describe alternatives you've considered

  • Utilizing a third-party library to reformat logs into JSON after they are generated.
  • Writing custom parsers to convert existing log formats into JSON. However, these approaches add unnecessary complexity and may lead to data loss or inaccuracies.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions