Removes exc_info from logging exception