Commit 118d0633 authored by Claude Brisson's avatar Claude Brisson

Update README

parent d7c344bc
......@@ -25,5 +25,38 @@ Registering the formatter is then done by editing the /etc/tomcat8/logging.prope
[...]
# Other log nicification features
## Line/col and template name in webapp logs
1. Use https://github.com/arkanovicz/webapp-slf4j-logger v1.5-SNAPSHOT (1.5 not yet released at the time of writing)
2. Use Apache Velocity 2.2-SNAPSHOT (2.2 not yet released at the time of writing)
Add this in `velocity.properties`
runtime.log.track_location = true
## Colors
sudo apt-get install multitail
Content of ~/.multitailrc :
colorscheme:loglevels
cs_re:white,,bold:\[debug\]
cs_re:green:\[info\.\]
cs_re:yellow:\[warn\.\]
cs_re:red:\[error\]
Command to use:
multitail -cS loglevels file ...
So it's handy to define an `mtail` alias (in fish or bash), for instance in fish:
function mtail
multitail -cS loglevels $argv
end
Plenty of other color schemes [here](https://wiki.natenom.de/en/linux/verschiedenes/multitail-schemas).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment