logger improved