Fix misuses of format based logging functions

Spotted one - searched for the other.