OpenShift CLI reference for viewing logs.
Open Shift UI
Logs for running pods are visible from within the OpenShift UI. Go to: Applications > Pods, and select Logs from the following tabbed list:
From within the ‘Logs’ tab, clicking on the ‘View Archive’ anchor just above the current log on the right side will launch Kibana. The container service stores 180 days worth of logs for each project. Use Kibana to view logs from previous pods.
Open Shift CLI
To follow logs for a build config
oc logs -f bc/os-docker-build
To get the log for a currently running pod:
oc logs -f <pod>