Added Exception Logging Support