I am unable to see any debug logs in GMS. I checked the gms.debug.log file.
I am hitting the entities/latest endpoint. Ideally I should see the “GET ENTITIES” text in the debug file.
I have also added DATAHUB_DEBUG=true
but still it is not working
public ResponseEntity<UrnResponseMap> getEntities(
@Parameter(name = "urns", required = true, description = "A list of raw urn strings, only supports a single entity type per request.")
@RequestParam("urns") @Nonnull String[] urns,
@Parameter(name = "aspectNames", description = "The list of aspect names to retrieve")
@RequestParam(name = "aspectNames", required = false) @Nullable String[] aspectNames) {
Timer.Context context = MetricUtils.timer("getEntities").time();
final Set<Urn> entityUrns =
Arrays.stream(urns)
// Have to decode here because of frontend routing, does No-op for already unencoded through direct API access
.map(URLDecoder::decode)
.map(UrnUtils::getUrn).collect(Collectors.toSet());
log.debug("GET ENTITIES {}", entityUrns);
Authentication authentication = AuthenticationContext.getAuthentication();
String actorUrnStr = authentication.getActor().toUrnStr();
DisjunctivePrivilegeGroup orGroup = new DisjunctivePrivilegeGroup(ImmutableList.of(new ConjunctivePrivilegeGroup(
ImmutableList.of(PoliciesConfig.GET_ENTITY_PRIVILEGE.getType())
)));```
Datahub version v0.12.0