Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

로깅 #63

Open
daadaadaah opened this issue Jun 22, 2023 · 0 comments
Open

로깅 #63

daadaadaah opened this issue Jun 22, 2023 · 0 comments

Comments

@daadaadaah
Copy link
Collaborator

daadaadaah commented Jun 22, 2023

Why

  • AWS EC2에 배포 테스트 하면서 서버가 제대로 동작하지 않았을 때, 왜 동작이 안되는지, 서버에서 무슨 일이 발생했는지에 대해 파악이 어려웠다.

What

  1. Error
  2. Warn : 결제 API 요청하는 로직에서 사용
  3. Info : HTTP 요청/응답 -> 어떤 HTTP 요청/응답이 있었는지 파악하기 위해
  4. Debug : SQL 또는 Redis 명령어의 응답시간 -> 어떤 쿼리 느린지 파악하기 위해

How

  • 파일, DB, 로그 관리 시스템(Elasticsearch, Logstash 등) 등에 저장할 수 있지만, 나는 파일

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant