logs improvment