add system logger for capturing exceptions