이 페이지에서는 Cloud Composer용 Apache Airflow 로그에 액세스하고 보는 방법을 설명합니다.
로그 유형 정보
Cloud Composer에는 다음과 같은 Airflow 로그가 있습니다.
스트리밍 로그. 이러한 로그에는 Airflow 작업자 로그와 Airflow 스케줄러 및 작업자와 같은 환경의 Airflow 구성요소 로그가 포함됩니다.
Cloud Composer 환경의 Cloud Logging 및 Cloud Monitoring에 대해 자세히 알아보려면 환경 모니터링을 참고하세요.
환경 버킷의 Airflow 태스크 로그 이 로그는 단일 DAG 작업과 연결되어 있습니다.
Cloud Composer는 Airflow 태스크 로그가 포함된 파일을 /logs 폴더에 저장합니다.
Cloud Composer는 관리자 활동 로그와 같은 감사 로그를 생성합니다. 자세한 내용은 감사 로그 보기를 참고하세요.
시작하기 전에
Google 계정에 환경 버킷의 객체를 볼 수 있는 역할이 있어야 합니다. 자세한 내용은 액세스 제어를 참조하세요.
환경 버킷에 저장된 로그는 버킷의 정책을 사용합니다.
Cloud Composer는 데이터를 영구적으로 보관하는 기본 정책으로 버킷을 만듭니다. Cloud Logging에 저장된 로그의 경우 Cloud Composer는 _Default 및 사용자 정의 로그 보관 기간을 사용합니다.
데이터 손실을 방지하기 위해 환경의 버킷에 저장된 로그는 환경을 삭제한 후에도 삭제되지 않습니다. 환경의 버킷에서 로그를 수동으로 삭제해야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-10(UTC)"],[[["Cloud Composer offers different types of Airflow logs, including streaming logs for Airflow task and component activity, as well as logs associated with single DAG tasks stored in the environment's bucket."],["Streaming logs for Cloud Composer can be accessed via the \"Logs\" tab within the Google Cloud console's Environment details page."],["Airflow task logs in the environment's bucket can be accessed by navigating to the \"DAGs\" link in the console, and subsequently clicking on the `/logs` folder in the \"Bucket details\" page."],["Logs stored in environment's bucket are not deleted when the environment is deleted and must be manually removed."],["Your Google Account needs to have the necessary permissions to view objects in environment buckets to view the logs."]]],[]]