When not reporting via events, the final contents of the message buffer after formatting was being used as a format string to fprintf instead of writing out the actual string.