Avoid generating tremendous quantity of logs