Fixes T1243: Move logging into td_agent