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 on 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 on Menu > More Tools > Developer Tools.

  2. Click on the Console tab.

    che viewing keycloak ide logs on google chrome

Viewing the PostgreSQL server logs

This section describes how to view the PostgreSQL server logs.

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

  2. In the Find by label search field, type postgres to see the PostgreSQL logs. Click postgres deployment to open it.

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

  4. The logs are displayed.

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 the Che server logs section.

Tags: