Fix formatting bug in logging call.

The logging functions already take a format string, so this was
breaking when the input contained a `%`.
Merge remote branch 'moc/devel' into logging-fix
Merge pull request #244 from zenhack/logging-fix

Logging fix