[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

log4n colorschema




Hi.

Based on the new loj4j colorschema, I created a log4n colorschema - has
just a few tweaks.

Here is the code:

# log4n
colorscheme:log4n
cs_re:magenta::
cs_re:magenta:/
cs_re:blue:^[0-9]*-[0-9]*-[0-9]* [0-9]*:[0-9]*:[0-9]*,[0-9]*
cs_re_s:blue,,bold:^[^ ]* *[^,]*,[^ ]* *\[[0-9]*\] *(DEBUG) *[^ ]* [^ ]* *(.*)$
cs_re_s:green:^[^ ]* *[^,]*,[0-9]* \[*[0-9]*\] *(INFO) *[^ ]* [^ ]* *(.*)$
cs_re_s:yellow:^[^ ]* *[^,]*,[0-9]* \[*[0-9]*\] *(WARN) *[^ ]* [^ ]* *(.*)$
cs_re_s:red:^[^ ]* *[^,]*,[0-9]* \[*[0-9]*\] *(ERROR) *[^ ]* [^ ]* *(.*)$
cs_re_s:red,,bold:^[^ ]* *[^,]*,[0-9]* \[*[0-9]*\] *(FATAL) *[^ ]* [^ ]* *(.*)$
cs_re_s:white,,bold:^[^ ]* *[^,]*,[0-9]* \[*[0-9]*\] *[A-Z]* *(.*)



Cheers

-- 
Pedro Alves
pedro.alves@zmail.pt