OpenShift Logging: Difference between revisions
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
This page is intended to provide the location of various types of logs in OpenShift. | This page is intended to provide the location of various types of logs in OpenShift. | ||
= | =Generic Pod Logging= | ||
oc logs [-f] <''pod-name''> [-c <''container-name''>] | oc logs [-f] <''pod-name''> [-c <''container-name''>] | ||
Line 17: | Line 15: | ||
[[oc logs]] | [[oc logs]] | ||
==Master Process Logging== | =Master and Node Process Logging= | ||
{{Internal|OpenShift_Runtime#Master_and_Node_Process_Logging|OpenShift Runtime Operations - Master and Node Process Logging}} | |||
=Management Traffic Proxy Logging= | |||
On the host that runs the API/Master Console traffic HAProxy instance, inspect /var/log/haproxy.log. | |||
=Main Application Traffic Proxy Logging= | |||
On the host that runs the application traffic HAProxy instance (appproxy.local), inspect /var/log/haproxy.log. | |||
=Infrastructure Services= | |||
== | ==Kibana== | ||
{{Internal|Kibana_and_OpenShift#Logging|Kibana Logging in OpenShift}} |
Latest revision as of 19:43, 2 November 2017
Internal
Overview
This page is intended to provide the location of various types of logs in OpenShift.
Generic Pod Logging
oc logs [-f] <pod-name> [-c <container-name>]
For more details, see:
oc logs
Master and Node Process Logging
Management Traffic Proxy Logging
On the host that runs the API/Master Console traffic HAProxy instance, inspect /var/log/haproxy.log.
Main Application Traffic Proxy Logging
On the host that runs the application traffic HAProxy instance (appproxy.local), inspect /var/log/haproxy.log.