Viewing Che server logs
This section describes how to view the Che server logs using the command line.
Viewing the Che server logs using the OpenShift CLI
This section describes how to view the Che server logs using the OpenShift CLI (command line interface).
Procedure
-
In the terminal, run the following command to get the Pods:
$ oc get pods
Example$ oc get pods NAME READY STATUS RESTARTS AGE che-11-j4w2b 1/1 Running 0 3m
-
To get the logs for a deployment, run the following command:
$ oc logs <name-of-pod>
Example$ oc logs che-11-j4w2b