Adding tf to logging message