fix(logger): missing code about logger removal