logging profile to console