Skip to content

Instantly share code, notes, and snippets.

@slmanju
Created January 10, 2018 10:30
Show Gist options
  • Select an option

  • Save slmanju/b8fbed060d0053bfe50135cdd8e2e9ef to your computer and use it in GitHub Desktop.

Select an option

Save slmanju/b8fbed060d0053bfe50135cdd8e2e9ef to your computer and use it in GitHub Desktop.
#logging.level.root = WARN
logging.level.org.springframework.web = ERROR
logging.level.com.manjula = DEBUG
# Logging pattern for the console
logging.pattern.console = %yellow(%d{yyyy-MM-dd HH:mm:ss}) %highlight(%-5level) %magenta(%logger{36}) - %green(%.-100msg) %n
# Logging pattern for file
logging.pattern.file = %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
# Set file path
logging.file = /home/manjula/todo.log
# If your terminal supports ANSI, color output will be used
spring.output.ansi.enabled = ALWAYS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment