Replace logtail2 with python module.

It's more pythonic to use python module than system command, and `logtail2` is platform limited.