I often have to deal with reading two or three files with logs. The logs are produced by different processes and have different levels of verbosity (thus different number of lines), but lines in all of them start with a timestamp.
I thought about writing some vim script, that would allow me to open those files simultaneously, and then automatically navigate via timestamp - i.e. when moving down in one file, the other ones will be centered on lines with relevant timestamp.
Does anyone have any ideas about the realization of such task? Any suggestions about commands and tricks that could be useful?
I have implemented such in my LogViewer plugin; hopefully it'll suit your needs.

(source: ingo-karkat.de)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With