# Mopidy not logging, TuneIn issues

**URL:** <https://discourse.mopidy.com/t/mopidy-not-logging-tunein-issues/937>\
**Category:** Misc\
**Created:** [October 15, 2015, 7:39pm UTC](https://discourse.mopidy.com/t/mopidy-not-logging-tunein-issues/937 "2015-10-15T19:39:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deerewright](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@deerewright](https://discourse.mopidy.com/u/deerewright)\
**Post date:** [October 15, 2015, 7:39pm UTC](https://discourse.mopidy.com/t/mopidy-not-logging-tunein-issues/937/1 "2015-10-15T19:39:35Z")

</div>

How do i get mopidy to prduce a .log file? I have installed from apt, and am running as a service. The logging section of my config is:

> [logging]  
> color = true  
> console\_format = %(levelname)-8s %(message)s  
> debug\_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)$  
> debug\_file = mopidy.log  
> config\_file =

I am having problems with TuneIn stations not playing. Some do, most do not, how do I set the logging to debug?

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 15, 2015, 8:09pm UTC](https://discourse.mopidy.com/t/mopidy-not-logging-tunein-issues/937/2 "2015-10-15T20:09:51Z")

</div>

There are some problems with the tunein extension at the moment and some  
kind people have worked on a fix but I’ve just not had any time to get into  
it. There is a command line option to enable debug logging, I think you  
need to modify the service file to set the option. But if you are debugging  
something it’s often much easier to just run mopidy, with whatever command  
line args you want, from the shell (as user mopidy).

---

<div class="post-metadata">

**Author:** ![deerewright](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@deerewright](https://discourse.mopidy.com/u/deerewright)\
**Post date:** [October 15, 2015, 10:44pm UTC](https://discourse.mopidy.com/t/mopidy-not-logging-tunein-issues/937/3 "2015-10-15T22:44:10Z")

</div>

OK. Thanks.

I have also tried Pi Musicbox img, and TuneIn works much better there, but not with mopidy?

Any idea what the difference is?

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 15, 2015, 10:58pm UTC](https://discourse.mopidy.com/t/mopidy-not-logging-tunein-issues/937/4 "2015-10-15T22:58:39Z")

</div>

Musicbox uses a much older version of mopidy. A version without the changes  
to playlist handling that causes this problem.
