with loging