Added debug message containing exception.
Using message pattern in uncaught exception logging for filtering.
Replaced some concatenated log messages with message patterns.