temp fix for #32 - wrap log writes in try/catch to avoid errors when log dir is not writable