Ported text log changes from old taboot tailer to this one.