tail -f a/b/c.log d/e/f.log
logs like this:
==> a/b/c.log <==
xxx
yyy
Exception happened 1
zzz
==> d/e/f.log <==
rrr
Exception happened 2
sss
How to change command so that result isthe lines containing "Exception" are picked up like this:
a/b/c.log: Exception happened 1
d/e/f.log: Exception happened 2
The solution can use any Linux commands.