add log in log outo