# How to enable sidekiq logging?

**URL:** https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896
**Category:** Support
**Created:** [April 22, 2018, 10:08am UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896 "2018-04-22T10:08:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [April 22, 2018, 10:08am UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896/1 "2018-04-22T10:08:50Z")

</div>

Hi,

I’m curious to see why some sidekiq jobs are failling, but I can’t find sidekiq.log in /log. How can I enable this?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [April 22, 2018, 3:54pm UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896/2 "2018-04-22T15:54:21Z")

</div>

All errors should be in /logs. Even sidekiq ones.

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [April 22, 2018, 3:57pm UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896/3 "2018-04-22T15:57:33Z")

</div>

Yeah that’s what I understood so far, but they’re neither in log/rails nor in logs/var-log (see below). I’m on a DigitalOcean ‘one-click’ install - perhaps they didn’t enable the sidekiq logging? Is there something in app.yml or another template that I can check?

```
root@discourse-s-6vcpu-16gb-ams3-01-app:/var/www/discourse/log# ls -l
total 0
lrwxrwxrwx 1 discourse root 39 Apr 22 07:02 production_errors.log -> /shared/log/rails/production_errors.log
lrwxrwxrwx 1 discourse root 32 Apr 22 07:02 production.log -> /shared/log/rails/production.log
lrwxrwxrwx 1 discourse root 36 Apr 22 07:02 unicorn.stderr.log -> /shared/log/rails/unicorn.stderr.log
lrwxrwxrwx 1 discourse root 36 Apr 22 07:02 unicorn.stdout.log -> /shared/log/rails/unicorn.stdout.log
root@discourse-s-6vcpu-16gb-ams3-01-app:/var/www/discourse/log#

```

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [April 22, 2018, 3:59pm UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896/4 "2018-04-22T15:59:09Z")

</div>

I didn’t mean the logs directory at the root of your filesystem but the URI (eg. [https://your.discourse/logs](https://your.discourse/logs)) 😉

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [April 22, 2018, 4:00pm UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896/5 "2018-04-22T16:00:12Z")

</div>

Ahhhhhhhhhh! Thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 9, 2020, 6:58am UTC](https://meta.discourse.org/t/how-to-enable-sidekiq-logging/85896/6 "2020-09-09T06:58:51Z")

</div>


