# What is the path to error logs?

**URL:** https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693
**Category:** SSO
**Created:** [2017年九月25日 01:48 UTC](https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693 "2017-09-25T01:48:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![malik415](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@malik415](https://meta.discourse.org/u/malik415)
#### Post date: [2017年九月25日 01:48 UTC](https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693/1 "2017-09-25T01:48:41Z")

</div>

Can someone confirm the exact path where the logs are written to when using SSO or how I can view them? In the admin area, it says logs are in “/logs”, but can someone tell me where that is? I’m using a docker based 1-click install from Digital Ocean and getting a blank white screen while trying to get my SSO setup.

---

<div class="post-metadata">

### Author: ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)
#### Post date: [2017年九月25日 01:57 UTC](https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693/2 "2017-09-25T01:57:39Z")

</div>

It’s referring to log viewer web UI living at `/logs`, i.e. `example.com/logs`.

---

<div class="post-metadata">

### Author: ![malik415](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@malik415](https://meta.discourse.org/u/malik415)
#### Post date: [2017年九月25日 02:05 UTC](https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693/3 "2017-09-25T02:05:48Z")

</div>

Thanks, that helps @xrav3nz

I did some digging in the meantime and also found a log file via the command line in case it helps anyone down the road.

cd /var/discourse  
./launcher enter app

cd /shared/log/rails  
vi production.log

I imagine this is what is being showing in the UI as well

---

<div class="post-metadata">

### Author: ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)
#### Post date: [2017年九月25日 02:10 UTC](https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693/4 "2017-09-25T02:10:54Z")

</div>

Yup, they’re the same, except the web UI is feature-rich and easier to read/navigate. 😉

Here’s a screenshot from the [GitHub repo](https://github.com/discourse/logster).

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/7/3705e52ccf8245f79477be2c903973931e77e1e9.png)

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [2017年九月25日 04:19 UTC](https://meta.discourse.org/t/what-is-the-path-to-error-logs/70693/5 "2017-09-25T04:19:54Z")

</div>


