Skip to content

Instantly share code, notes, and snippets.

@lamngockhuong
Created April 25, 2019 06:53
Show Gist options
  • Save lamngockhuong/2415d2740824791a5cc5cc0fe4589bd4 to your computer and use it in GitHub Desktop.
Save lamngockhuong/2415d2740824791a5cc5cc0fe4589bd4 to your computer and use it in GitHub Desktop.
Spring application configuration for default logging
logging:
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} ${LOG_LEVEL_PATTERN:-%5p} %m%n"
level:
org.springframework.web: INFO
org:
springframework:
web:
filter:
CommonsRequestLoggingFilter: DEBUG
hibernate:
SQL: DEBUG
type.descriptor.sql: TRACE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment