Add spec for logger