Added logging in several files, diversify collection metadata