Fix logging of literals as format strings