Created a log/exception system, logs to file.