Skip to content

Json logging#105

Merged
benjamsf merged 3 commits intomainfrom
json-logging
Apr 23, 2026
Merged

Json logging#105
benjamsf merged 3 commits intomainfrom
json-logging

Conversation

@syvanen
Copy link
Copy Markdown
Contributor

@syvanen syvanen commented Feb 24, 2026

JSON logging support to generate structure logs for Elastic Stack usage
This version customizes the TAK server config in several ways:

  • Enabled the build in mechanisms to doing JSON based logging in the CoreConfig.xml file
  • As HTTP Access logs were not by default coming to STDOUT forked also the logback.xml config to manage all logging
    • This now allows us to control what logs are send to containers STDOUT
  • Also uses the standard Spring environment variables to enable JSON logs
  • Disables log files on disk (can be added back if needed)

This version customizes the TAK server config in several ways:
  * Enabled the build in mechanisms to doing JSON based logging in the CoreConfig.xml file
  * As HTTP Access logs were not by default coming to STDOUT forked also the logback.xml config to manage all logging
    * This now allows us to control what logs are send to containers STDOUT
  * Also uses the standard Spring environment variables to enable JSON logs
  * Disables log files on disk (can be added back if needed)
Copy link
Copy Markdown
Contributor

@rambo rambo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (but I know very little of Java logging)

@benjamsf benjamsf merged commit 3462bb4 into main Apr 23, 2026
2 checks passed
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.

3 participants