add additional debugging information
fix issue logging some messages
it was not possible to log any message that includes the reserved chars { or } due to how MessageFormat works. We now skip trying to format a message if no parameters are given.