Este conteúdo não está disponível no idioma selecionado.
Appendix C. Checking OpenShift logs
You can use the oc logs
command to view the OpenShift logs or the logs that are provided by the console for a running container.
Procedure
Enter the following command:
oc logs -f <pod_name> <container_name>
$ oc logs -f <pod_name> <container_name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIn the preceding command, replace
<pod_name>
and<container_name>
with appropriate values for your deployment.Access logs are stored in the
/opt/jws-5.6/tomcat/logs/
directory.