Viewing Che server logs
This section describes how to view the Che server logs using the command line.
This section describes how to view the Che server logs using the OpenShift CLI (command line interface).
In the terminal, run the following command to get the Pods:
$ oc get podsExample
$ 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