Keycloak X LDAP federation missing logs

Hi,

I have following scenario:

  • Keycloak set up with LDAP federation
  • Creating a new user in the realm associated with the federation (not master realm)

If I use an old (wildfly) Keycloak version, I get logs that show that the user has been created:
{ operationType=CREATE, realmId=master, userId=c83299a4-8b2d-4aec-b348-ffa22b675626, resourceType=USER, resourcePath=users/f6073122-d3f7-4a33-8001-738525a7fdff" }

However, on a Keycloak Quarkus version these logs are missing. The user creation was successful and no errors appear in neither Keycloak nor LDAP, so the functionality remains the same.

I do have a custom java class that uses the org.keycloak.events package mainly for printing the logs in a custom format. The code is straightforward and just queries the AdminEvent object in the manner of adminEvent.getOperationType(), etc, takes the output and adds it to a StringBuilder. No other transformation done.

I’m wondering, if these logs were removed on purpose/accidentally, or if the way the logs are populated in the java package changed.

Thanks!