Tail Multiple Logs at Once
If you have the following files in your /log
:
/erlang.log.1, /erlang.log.2, /erlang.log.3, /erlang.log.4
And you don't know which to watch, just tail them all:
$ tail -f log/erlang.log.*
Alternativly, you can pass it multiple files:
$ tail -f log/erlang.log.1 log/erlang.log.2
Tweet