Posts: 5
Joined: Nov 2016
Reputation:
0
Hi all.
I'm new here, I looked for my topic, but I couldn't find anything about it.
How can I change log file location? I would like to move it from /home/pi/.kodi/temp/ to an external USB stick.
Or, in alternative, how can I can I set log level in order to avoid "NOTICE" log?
Thank you very much.
Posts: 8,970
Joined: Feb 2011
Reputation:
427
Try setting env variable KODI_TEMP pointing to the temp directory you want to use before launching kodi.
Posts: 5
Joined: Nov 2016
Reputation:
0
Yes.
By the way if it would be possible to move whole temp dir would be even better...
Posts: 5
Joined: Nov 2016
Reputation:
0
I tried with symlink and it seems work, but at startup a log warns me with something like "failed to start commoncache...". In the new temp dir there is a file named commoncache.db that remains at 0 size. Do I have to worry?
Posts: 5
Joined: Nov 2016
Reputation:
0
It's a service plugin used by some of my installed add-ons.
I tried one of these add-on, and it seems work even without this plugin.
Neverthless I decided to roll back: so conclusion is that it is not possible to relocate temp dir?
Posts: 3,895
Joined: Sep 2013
Reputation:
358
I checked out that commoncache.db and it belongs to ArtworkDownloader, so it's not critical unless you use that add-on a lot.
Learning Linux the hard way !!