Skip to content

gateway - Add logging config#490

Merged
Gaetanbrl merged 2 commits intogeorchestra:masterfrom
jdev-org:master
Apr 1, 2026
Merged

gateway - Add logging config#490
Gaetanbrl merged 2 commits intogeorchestra:masterfrom
jdev-org:master

Conversation

@Gaetanbrl
Copy link
Copy Markdown
Contributor

No issue, just an initial gateway/datadir sync arround logging.

@Gaetanbrl Gaetanbrl requested a review from landryb March 31, 2026 16:02
Comment thread gateway/logging.yaml Outdated
level:
root: info
org.springframework: info
org.georchestra.gateway: debug
Copy link
Copy Markdown
Member

@edevosc2c edevosc2c Mar 31, 2026

Choose a reason for hiding this comment

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

Wouldn't that be an issue to log everything by default with debug details? Could also create a lot of logs on high traffic georchestra platforms.

And make the diagnostic more difficult due to the high amount of logs?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

afaik that's the default sample config file in the docs ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

fwiw, i dont recognize that config layout, and furthermore, the original commit made by @Gaetanbrl was imo right, since (to my understanding of this yaml vomit) the debug levels were activated only on spring profiles logging_debug & logging_debug_security which ... makes sense.

Comment thread gateway/logging.yaml
# included when using the json-logs profile. For the regular console output you could tweak the logback-spring.xml
# config file to include the required MDC properties
# In any case, the activated MDC will be visible when using the OpenTelemetry protocol
mdc:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Weren't the access logs already enabled here: georchestra/georchestra-gateway#146?

Copy link
Copy Markdown
Member

@landryb landryb left a comment

Choose a reason for hiding this comment

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

@Gaetanbrl Gaetanbrl merged commit a42b7e6 into georchestra:master Apr 1, 2026
landryb added a commit to georchestra/ansible that referenced this pull request Apr 1, 2026
taken unmodified from georchestra/datadir#490

while here stop deploying some configs we don't modify
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