change behavior about the error.log