log kernel exceptions