Source

multitail /

Filename Size Date modified Message
41 B
Added ignores
19 B
Initial version
371 B
Initial version
1.9 KB
Fixed bug in tail
577 B
Fixed bug in tail

Python generator which implements tail -f-like behavior, with support for tailing multiple files.

from multitail import multitail
for fn, line in multitail('/var/log1', '/var/log2', '/var/log3'):
    print '%s: %s' % (fn, line)