Viewing external service logs

This section describes how the view the logs from external services related to Che server.

Viewing Keycloak logs

The Keycloak OpenID provider consists of two parts: Server and IDE. It writes its diagnostics or error information to several logs.

Viewing the Keycloak server logs

This section describes how to view the Keycloak OpenID provider server logs.

Procedure
  1. In the OpenShift Web Console, click Deployments.

  2. In the Filter by label search field, type keycloak to see the Keycloak logs.

  3. In the Deployment Configs section, click the keycloak link to open it.

  4. In the History tab, click the View log link for the active Keycloak deployment.

  5. The Keycloak logs are displayed.

Additional resources

Viewing the Keycloak client logs on Firefox

This section describes how to view the Keycloak IDE client diagnostics or error information in the Firefox WebConsole.

Procedure
  • Click Menu > WebDeveloper > WebConsole.

Viewing the Keycloak client logs on Google Chrome

This section describes how to view the Keycloak IDE client diagnostics or error information in the Google Chrome Console tab.

Procedure
  1. Click Menu > More Tools > Developer Tools.

  2. Click the Console tab.

Viewing the Che database logs

This section describes how to view the database logs in Che, such as PostgreSQL server logs.

Procedure
  1. In the OpenShift Web Console, click Deployments.

  2. In the Find by label search field, type:

    • app=che and press Enter

    • component=postgres and Enter

      The OpenShift Web Console now searches base on those two keys and displays PostgreSQL logs.

  3. Click postgres deployment to open it.

  4. Click the View log link for the active PostgreSQL deployment.

    The OpenShift Web Console displays the database logs.

Additional resources
  • Some diagnostics or error messages related to the PostgreSQL server can be found in the active Che deployment log. For details to access the active Che deployments logs, see the Viewing Che server logs section.