Monitoring Active Sessions Using Logs

To update the logs with the number of active sessions, set the log level to debug for the class com.decisionbrain.keycloak.spi.event.consumer.impl.LoggerConsumer.

To do so, in the Scenario Service extension, add the following snippet to the application.yml file:

logging:
    level:
        com.decisionbrain.keycloak.spi.event.consumer.impl.LoggerConsumer: DEBUG