Skip to content

Instantly share code, notes, and snippets.

@renatomefi
Last active July 11, 2020 15:49
Show Gist options
  • Save renatomefi/7e01c6c4b8e457203c83 to your computer and use it in GitHub Desktop.
Save renatomefi/7e01c6c4b8e457203c83 to your computer and use it in GitHub Desktop.
Symfony 2 and 3 monolog color output with multitail
# Symfony 2, 3, 4 color scheme - aka monolog
# Usage: multitail -cS symfony logfile
# Inspired by: https://gist.github.com/Stubbs/9504462
colorscheme:symfony
cs_re:white,,bold:^\[....-..-.. ..:..:..\]
cs_re:cyan: .*\.(DEBUG):
cs_re:blue: .*\.(INFO|NOTICE):
cs_re:yellow: .*\.(WARNING):
cs_re:red: .*\.(ERROR|CRITICAL):
cs_re:red:(ERROR|CRITICAL)
cs_re:green:\[
cs_re:green:\]
cs_re:magenta: \{[^}]+\}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment