Fix logging format problems on some servers.