refactor trails-tail-log to use the generic cmd