Use a hash instead of digest to characterise exceptions in log entries.
Hashes are like ids and far easier to search/filter for then lengthly digest strings with newlines, etc. Also hashes are more exact as the digest is only comprising the tail of a stack trace.