# Where does Discourse store and show logs?

**URL:** https://meta.discourse.org/t/where-does-discourse-store-and-show-logs/58022
**Category:** Self-Hosting
**Tags:** reference
**Created:** [2월 27, 2017, 3:56오후 UTC](https://meta.discourse.org/t/where-does-discourse-store-and-show-logs/58022 "2017-02-27T15:56:29Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![bcye](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bcye/32/533240_2.png) [@bcye](https://meta.discourse.org/u/bcye)
#### Post date: [12월 10, 2025, 8:12오후 UTC](https://meta.discourse.org/t/where-does-discourse-store-and-show-logs/58022/12 "2025-12-10T20:12:59Z")

</div>

이 로그들 중 어떤 것이 개인 데이터를 포함하고 있으며, 얼마나 오랫동안 저장되는지 파악하려고 합니다. 현재 파악한 내용은 다음과 같습니다:

- 이메일 로그는 기본적으로 90일 동안 유지됩니다.
- Rails 로그에는 IP가 포함되어 있으며, 7일 후에 로테이션됩니다. (출처: [\* logrotate.d](https://meta.discourse.org/t/default-ip-log-retention-time/42135/))
- NGINX의 경우에도 동일한 규칙이 적용됩니다.
- Staff/Screening(직원/스크리닝) 로그에는 개인 데이터가 포함될 수 있으며, 영구적으로 유지됩니다.

제가 놓친 부분이 있을까요?

에러 로그([discourse.example.com/logs](http://discourse.example.com/logs))에도 개인 데이터가 포함될 수 있으며, 그렇다면 로테이션이 되는가요?  
컨테이너 로그에도 개인 정보가 포함될 수 있나요? (예: `./launcher logs app` 등) 이 로그들은 docker를 통해 수동으로 로테이션을 설정해야 하는 것 같습니다.

---

_[View the full topic](https://meta.discourse.org/t/where-does-discourse-store-and-show-logs/58022)._
