use osx-compatible tail command in tlog