Skip to content

Move to structured logging, with logback, for docker image, testing, …#1796

Merged
MikeNeilson merged 3 commits into
developfrom
task/1794-structured-logging
Jun 23, 2026
Merged

Move to structured logging, with logback, for docker image, testing, …#1796
MikeNeilson merged 3 commits into
developfrom
task/1794-structured-logging

Conversation

@MikeNeilson

Copy link
Copy Markdown
Contributor

…and compose files.

Summary

Changes logging setup in preparation for w3c trace context.

  1. Integrated logback into integration test setup and Docker image.
  2. Output logs as structured (logbacks JSON Encoder) as well as original "plain output" for the integration tests.

Intentionally made no additional changes to logging.

Related Issue

Closes #1794

Validation

Manually, change is to logging, verified expected logs were created in the desired format.

Checklist

  • AI tools used

Comment thread gradle/libs.versions.toml Outdated
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration>
<configuration debug="true">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Will this push all the way to prod and make the prod logs noisy?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oops, thanks that should not be in there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Though that particular debug is about the initial log configuration, so it wouldn't be super noisy, just some initial text at the start, still doesn't need to be in there though.

MikeNeilson and others added 2 commits June 23, 2026 06:52
Co-authored-by: Charles Graham <charles.r.graham@usace.army.mil>
@MikeNeilson MikeNeilson merged commit 436ac43 into develop Jun 23, 2026
8 checks passed
@MikeNeilson MikeNeilson deleted the task/1794-structured-logging branch June 23, 2026 16:48
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.

Setup structured logging

3 participants