Skip to content

Application should fail to start when an incorrect logback config is provided #3309

@hanswesterbeek

Description

@hanswesterbeek

Reproduction:

Currently, Spring Boot falls back to a default logback configuration. This causes me to believe that my logback configuration is fine while it isn't. In real deployment scenarios, I depend heavily on my logback-config. For instance, it emails me when ERROR-level events occur.

I think the application should not boot at all when I fail to configure logging. I would like it to write the to stderr and crash.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions