do not die if can not write log