Created
August 9, 2022 21:42
-
-
Save dehidehidehi/eaddf260744240cdb8e42fb22438d991 to your computer and use it in GitHub Desktop.
Java logging - Spring boot better logback formatting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Credit: https://twitter.com/bsideup/status/1557116232146554882 | |
# (no date, single-character level, no threads, no pid) | |
logging.pattern.console=\ | |
%black(%d{HH:mm:ss.SSS}) \ | |
%highlight(%.-1level) \ | |
%cyan(%40.40logger{39}): \ | |
%msh%n%throwable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment