Fix another log level
Fix segfault bug in logger error handling