trigger error if log is not writable