add loging design