Last active
July 11, 2024 16:21
-
-
Save bkahlert/21bb76d3a45de74c5a3861ecc34f78af to your computer and use it in GitHub Desktop.
Enabled Spring Boot banner while using JSON formatted logging using spring.main.banner-mode=LOG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spring Boot banner output does not need to be disabled for JSON formatted logging to work, as this gist shows.
The program has the following output:
If set up correctly the logger should serialize the banner to:
Even the ANSI formatting is correctly escaped.