12.4. 감사 로그 수집
클러스터 디버깅을 위해 감사 로그를 수집하려면 must-gather 도구를 사용하면 됩니다. 수집된 로그를 검토하거나 Red Hat 지원팀에 보낼 수 있습니다.
프로세스
-- /usr/bin/gather_audit_logs
:를 사용하여oc adm must-gather
명령을 실행합니다.oc adm must-gather -- /usr/bin/gather_audit_logs
$ oc adm must-gather -- /usr/bin/gather_audit_logs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 작업 디렉토리에서 생성된
must-gather
디렉토리에서 압축 파일을 만듭니다. 예를 들어 Linux 운영 체제를 사용하는 컴퓨터에서 다음 명령을 실행합니다.tar cvaf must-gather.tar.gz must-gather.local.472290403699006248
$ tar cvaf must-gather.tar.gz must-gather.local.472290403699006248
1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
must-gather-local.472290403699006248
을 실제 디렉터리 이름으로 교체합니다.
- 압축 파일을 Red Hat 고객 포털 의 고객 지원 페이지의 지원 케이스에 첨부합니다.