Added logger crash handler