1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/manually-gathering-logs-without-ssh.adoc
2020-08-13 11:21:26 -04:00

35 lines
900 B
Plaintext

// Module included in the following assemblies:
//
// *installing/installing-troubleshooting.adoc
[id="installation-manually-gathering-logs-without-SSH_{context}"]
= Manually gathering logs without SSH access to your host(s)
Manually gather logs in situations where `must-gather` or automated collection
methods do not work.
If you do not have SSH access to your node, you can access the systems journal
to investigate what is happening on your host.
.Prerequisites
* Your {product-title} installation must be complete.
* Your API service is still functional.
* You have system administrator privileges.
.Procedure
. Access `journald` unit logs under `/var/log` by running:
+
[source,terminal]
----
$ oc adm node-logs --role=master -u kubelet
----
. Access host file paths under `/var/log` by running:
+
[source,terminal]
----
$ oc adm node-logs --role=master --path=openshift-apiserver
----