Skip to content

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Nov 27, 2024

I try to enable structured logging by configuring

logging:
  structured.format.console: ecs
  structured.format.file: ecs

It doesn't works because there is log4j2.xml in classpath, I think it's worthy to add warning to document.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 27, 2024
@quaff quaff marked this pull request as draft November 29, 2024 04:38
@quaff quaff changed the title Warn that "Custom Log Configuration" take precedence over "Structured Logging" Document caveat of combining "Structured Logging" and "Custom Log Configuration" Nov 29, 2024
@quaff quaff marked this pull request as ready for review November 29, 2024 05:16
@wilkinsona wilkinsona changed the title Document caveat of combining "Structured Logging" and "Custom Log Configuration" Document how to use structured logging with custom log configuration Nov 29, 2024
@mhalbritter mhalbritter added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 2, 2024
@mhalbritter mhalbritter added this to the 3.4.x milestone Dec 2, 2024
@mhalbritter
Copy link
Contributor

Thanks @quaff !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants