{"action":"created","issue":{"url":"https://api.github.com/repos/osmc/osmc/issues/227","labels_url":"https://api.github.com/repos/osmc/osmc/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/osmc/osmc/issues/227/comments","events_url":"https://api.github.com/repos/osmc/osmc/issues/227/events","html_url":"https://github.com/osmc/osmc/issues/227","id":109674731,"number":227,"title":"KODI: Default debug level set to DEBUG so it is impossible to disable logging or set it to reasonable level","user":{"login":"lexa2","id":1085509,"avatar_url":"https://avatars.githubusercontent.com/u/1085509?v=3","gravatar_id":"","url":"https://api.github.com/users/lexa2","html_url":"https://github.com/lexa2","followers_url":"https://api.github.com/users/lexa2/followers","following_url":"https://api.github.com/users/lexa2/following{/other_user}","gists_url":"https://api.github.com/users/lexa2/gists{/gist_id}","starred_url":"https://api.github.com/users/lexa2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexa2/subscriptions","organizations_url":"https://api.github.com/users/lexa2/orgs","repos_url":"https://api.github.com/users/lexa2/repos","events_url":"https://api.github.com/users/lexa2/events{/privacy}","received_events_url":"https://api.github.com/users/lexa2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T10:52:44Z","updated_at":"2015-10-04T12:22:41Z","closed_at":"2015-10-04T12:22:41Z","body":"Kodi is coded in a way so you can't decrease debug level using advancedsettings.xml. It seems that Kodi as shipped with OSMC have default log level set to debug at the build time. Having my RPi2-based mediacender up and running for some weeks I found that 4GB SD card is full having /home/osmc/.kodi/temp/kodi.log occupy 2.7Gb. Cleaned, added advancedsettings.xml setting loglevel to 0, restarted kodi, made sure that logging is turned off in UI - and still have all debug level infos dumped into kodi.log.\r\n\r\nAs a short-term fix I redirect kodi.log to /dev/null but it would be good if OSMC would fix this properly by building Kodi with default log level set to -1 or 0. That way it won't fill up all the space on the SD card while it would still be possible to increase it in case it's needed using GUI or advancedsettings.xml."},"comment":{"url":"https://api.github.com/repos/osmc/osmc/issues/comments/145344179","html_url":"https://github.com/osmc/osmc/issues/227#issuecomment-145344179","issue_url":"https://api.github.com/repos/osmc/osmc/issues/227","id":145344179,"user":{"login":"KODeKarnage","id":4414212,"avatar_url":"https://avatars.githubusercontent.com/u/4414212?v=3","gravatar_id":"","url":"https://api.github.com/users/KODeKarnage","html_url":"https://github.com/KODeKarnage","followers_url":"https://api.github.com/users/KODeKarnage/followers","following_url":"https://api.github.com/users/KODeKarnage/following{/other_user}","gists_url":"https://api.github.com/users/KODeKarnage/gists{/gist_id}","starred_url":"https://api.github.com/users/KODeKarnage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KODeKarnage/subscriptions","organizations_url":"https://api.github.com/users/KODeKarnage/orgs","repos_url":"https://api.github.com/users/KODeKarnage/repos","events_url":"https://api.github.com/users/KODeKarnage/events{/privacy}","received_events_url":"https://api.github.com/users/KODeKarnage/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T12:22:41Z","updated_at":"2015-10-04T12:22:41Z","body":"fixed in latest build\r\n\r\nupdate"}}