The SM_FOLD_WIDTH environment variable removes the default line wrapping of exception messages in the log file. The lines will only wrap if SM_FOLD_WIDTH=X where X specifies the column at which to fold the lines.