better log format for exceptions