문제 설명
GCP Kubernetes의 Python 로깅 (Python logging in GCP kubernetes)
도커화된 파이썬 애플리케이션이 있습니다. GCP Kubernetes에 컨테이너를 배포하고 싶습니다. logging
모듈을 사용하여 애플리케이션에 로그를 포함했습니다. 내 질문은 기본적으로 로그가 stackdriver
에 저장되거나 logging
모듈과 통합된 google.cloud.logging
을 사용해야 한다는 것입니다. stackdriver
에 로그를 저장하시겠습니까?
참조 솔루션
방법 1:
Take a look at this documentation on how to make Py and Stackdriver work.
(by bigbounty、Luis Javier Alvarez Rodriguez)