alerta /

Filename Size Date modified Message
34.3 KB
2.6 KB
59 B
2.1 KB
4.7 KB
6.7 KB

# Log4Tailer: A multicolored python tailer for log4J logs # Copyright (C) 2008 Jordi Carrillo Bosch

# This file is part of Log4Tailer Project. # # Log4Tailer is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Log4Tailer is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Log4Tailer. If not, see <>.

Basic functionality


Untar and run :-)

If you want system wide:

python install


Normal functionality: pathToLogs

will tail the logs with colors.

log4tail -t "regex" pathToLogs

will tail the logs with colors and will emphasize the line that complies with the regex


log4tail --throttle secs pathToLogs

It will slow down the tailing if your application logs very fast

Silent Mode:

log4tail -s fullpathToLogs

Silent Mode activates SMTP email action and alerts will be sent to the address specified. Log4Tailer will request for the SMTP options interactively. Silent Mode basically daemonizes Log4Tailer monitoring the logs. In case of a FATAL will send the log trace to the address specified. You must provide the full path to the logs.

Color config parameters:

You can specify your own colors by providing the -c parameter

log4tail -c config.txt pathToLogs

where config.txt, you can specify:

warn = yellow info = green debug = black error = magenta fatal = red

The above are the defaults and work well with a white or clear terminal background.

Other options, please refer to the wiki in the project webpage.

For more explanation, details and options take a look at the UserGuide provided.