Skip to content

Add JSON logger support#2

Draft
erkinalp wants to merge 1 commit intomainfrom
json-logger-support
Draft

Add JSON logger support#2
erkinalp wants to merge 1 commit intomainfrom
json-logger-support

Conversation

@erkinalp
Copy link
Owner

Fixes All-Hands-AI#120

Adds support for JSON logging when LOG_JSON environment variable is set to true. This ensures that openhands-aci logs are consistent with the main OpenHands project when JSON logging is enabled.

Changes:

  • Added JSONFormatter class to format log records as JSON
  • Added LOG_JSON environment variable check
  • Added unit tests for JSON logging functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON Logger support.

2 participants