Close log print