The quick and dirty way that comes to mind is to tail each log file on each remote machine and redirect them to temporary files locally. Then, tail both logs with the method golimar suggestedgolimar suggested.
- ssh user@host1 -C tail -f /path/to/log >> /tmp/log1.tmp
- ssh user@host2 -C tail -f /path/to/log >> /tmp/log2.tmp
- tail -q -f /tmp/log1.tmp /tmp/log2.tmp
It's not pretty, requires keeping local data, and requires the first 2 commands to be background'ed (or run in screen
or similar), but it should get the job done!