Replace %% in log line prefix internally by a single %. Thanks to Cal Heldenbrand for the report.