Skip to content

Instantly share code, notes, and snippets.

@spinscale
Created November 3, 2016 08:35
Show Gist options
  • Save spinscale/a8a83a821514bc30262fc9048fbc0c0a to your computer and use it in GitHub Desktop.
Save spinscale/a8a83a821514bc30262fc9048fbc0c0a to your computer and use it in GitHub Desktop.
colorful log4j logging properties for Elasticsearch
# Colorful output, if you are on the console only
#appender.console.layout.pattern = %highlight{[%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n}
appender.console.layout.pattern = %style{[%d{ISO8601}]}{cyan}%style{[%-5p]}{magenta}%style{[%-25c{1.}]}{green} %marker%m%n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment