added log file for exceptions