Kodi Community Forum
always leave debugger on? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: always leave debugger on? (/showthread.php?tid=363007)



always leave debugger on? - R.O.H. - 2021-06-07

I created a advancedsettings.xml and it's set to 1.

Are there any real world downsides to this?

Thank you!!


RE: always leave debugger on? - FXB78 - 2021-06-07

(2021-06-07, 18:38)3000 Wrote: I created a advancedsettings.xml and it's set to 1.

Are there any real world downsides to this?

Thank you!!
Potential for huge log files, i.e. if you leave the system on without reboot for a week or more. Also, old log & crash logs will potentially be large in size.


RE: always leave debugger on? - R.O.H. - 2021-06-07

(2021-06-07, 19:09)FXB78 Wrote:
(2021-06-07, 18:38)3000 Wrote: I created a advancedsettings.xml and it's set to 1.

Are there any real world downsides to this?

Thank you!!
Potential for huge log files, i.e. if you leave the system on without reboot for a week or more. Also, old log & crash logs will potentially be large in size.
ok, thank you! Looks like it's nothing to worry about. I need it constantly on cause I couldn't figure out how to use action.getButtonCode() properly. Simply won't work for me and my gamepads.


RE: always leave debugger on? - Klojum - 2021-06-07

(2021-06-07, 19:46)3000 Wrote: ok, thank you! Looks like it's nothing to worry about.

That depends on your Kodi device. Devices with SDcards can get more wear & tear if large log files are being written all the time.
If all runs fine, you can also set the loglevel to -1, so no log file is created (well, apart from the log's header info).
Make sure you have a proper backup of your fine running Kodi setup.


RE: always leave debugger on? - R.O.H. - 2021-06-07

(2021-06-07, 19:54)Klojum Wrote:
(2021-06-07, 19:46)3000 Wrote: ok, thank you! Looks like it's nothing to worry about.

That depends on your Kodi device. Devices with SDcards can get more wear & tear if large log files are being written all the time.
If all runs fine, you can also set the loglevel to -1, so no log file is created (well, apart from the log's header info).
Make sure you have a proper backup of your fine running Kodi setup.
Thank you. I wish I could. I am logging for a gamepad button press which is not logged unless I turn on the debugger. Maybe there is another way just to log for it but I can't figure out one. If anyone knows something about it, I'm all ears!