#398 Avoid logging too frequently