add loging required checking