-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Capability to disable structured logging #45407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello! Doesn't setting |
Ah... well, arguably, yes, but it looks to be not entirely by design. I misremembered the exact behaviour but I should have phrased this request differently. With
|
Closes spring-projectsGH-45407 Signed-off-by: Yanming Zhou <[email protected]>
Thank you for the new integrated structured logging in Spring Boot 3.4. I have been very satisfied with its behaviour and the ergonomics of using it contrasted with having to wire that up, myself.
I would like to be able to explicitly disable it, though. I have a situation where, for safety purposes, the setting is distributed widely with
for correct default behaviour, but that leads to developers being unable to view plain text logs anywhere, namely during development, on account of the settings having no non-structured override option. The JSON logs are a lot more difficult to parse so that one use case has suffered considerably.
Before 3.4, we relied on a local
to disable a similarly distributed configuration and that worked well enough. Unfortunately there is no analogue for
logging.structured.format.console
that lets us do the same.The text was updated successfully, but these errors were encountered: