Skip to content

Instantly share code, notes, and snippets.

@topolik
Created January 4, 2018 16:34
Show Gist options
  • Save topolik/857680deb622f81d1d6c3707952a106b to your computer and use it in GitHub Desktop.
Save topolik/857680deb622f81d1d6c3707952a106b to your computer and use it in GitHub Desktop.
multitail
check_mail:0
# tomcat
colorscheme:tomcat
##time
cs_re:blue:^[0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*,[0-9]*
cs_re:blue:^[0-9:,]+
cs_re:blue:^... [0-9 :,]+ [APM]{2}
## log4j
cs_re_s:blue,,bold:.+(DEBUG) *(.*)$
cs_re_s:green:.+(INFO) *(\[.*)$
cs_re_s:yellow:.+(WARN) *(.*)$
cs_re_s:red:.+(ERROR) *(.*)$
cs_re_s:red,,bold:.+(FATAL) *(.*)$
# java.util.logging
cs_re_s:magenta:^(CONFIG|FINE|FINER|FINEST) *(.*)$
cs_re_s:magenta:^(INFO) *(.*)$
cs_re_s:magenta:^(WARNING) *(.*)$
cs_re_s:magenta,,bold:^(SEVERE) *(.*)$
cs_re_s:magenta:^[^ ]* *[^,]*,[0-9]* *[0-9]* *[A-Z]* *(.*)
cs_re_s:magenta:^([A-Z]+:.*)$
# default scheme
scheme:tomcat:.*catalina.out
scheme:tomcat:.*catalina.[0-9\-]+.log
# glassfish
colorscheme:glassfish
## quasrt
cs_re_s:black:^(\[#\|).+(\|sun-[^\|]*\|[^\|]+\|[^\|]+\|)
cs_re_s:black:.*(\|#\])$
##time
cs_re:blue:\|[T0-9:\+-\.]*\|
cs_re:blue:^[0-9:,]+
cs_re:blue:\|[0-9:,]+
## log4j
cs_re_s:blue,,bold:(INFO).*(DEBUG)(.*)$
cs_re_s:green:(INFO).*(INFO)(.*)$
cs_re_s:yellow:(INFO).*(WARN)(.*)$
cs_re_s:red:(INFO).*(ERROR)(.*)$
cs_re_s:red,,bold:(INFO).*(FATAL)(.*)$
## log levels
cs_re_s:blue,,bold:.+(CONFIG|FINE|FINER|FINEST)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
cs_re_s:green:.+(INFO)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
cs_re_s:yellow:.+(WARNING)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
cs_re_s:red:.+(SEVERE)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
# default scheme
scheme:glassfish:.*domains/.*/logs/server.log
# weblogic
colorscheme:weblogic
## quasrt
cs_re_s:black:^(\[#\|).+(\|sun-[^\|]*\|[^\|]+\|[^\|]+\|)
cs_re_s:black:.*(\|#\])$
##time
cs_re:blue:<[a-zA-Z]{3} [0-9]+,[^>]+>
#cs_re:blue:^[0-9:,]+
#cs_re:blue:\|[0-9:,]+
## log4j
cs_re_s:blue,,bold:(INFO).*(DEBUG)(.*)$
cs_re_s:green:(INFO).*(INFO)(.*)$
cs_re_s:yellow:(INFO).*(WARN)(.*)$
cs_re_s:red:(INFO).*(ERROR)(.*)$
cs_re_s:red,,bold:(INFO).*(FATAL)(.*)$
## log levels
#cs_re_s:blue,,bold:.+(CONFIG|FINE|FINER|FINEST)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
#cs_re_s:green:.+(INFO)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
#cs_re_s:yellow:.+(WARNING)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
#cs_re_s:red:.+(SEVERE)\|[^\|]+\|[^\|]+\|[^\|]+\|(.*)
cs_re_s:blue,,bold:.+(<Notice>).*(<[^>]+>) $
cs_re_s:green:.+(<Info>).*(<[^>]+>) $
cs_re_s:yellow:.+(<Warning>).*(<[^>]+>) $
cs_re_s:red:.+(<Alert>).*(<[^>]+>) $
#cs_re_s:black:(.*)
# default scheme
scheme:weblogic:.*domains/.*/servers/AdminServer/logs/AdminServer.log
scheme:weblogic:.*domains/.*/servers/AdminServer/logs/default.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment