Fix logging depdendencies in samples