DTK-1522: Use tail for getting log line