Debugging LE

  • Hello,

    I have a Nvidia ION device with stable LE. I have problem with tvheadend when I play recordings. It use to stop the recording without any reason.

    I want to debbug it, which file could I "tail -f" to have realtime log?

    I want to have both tvheadend server and LE in two consoles with debbuging and try to reproduce the error.

    Could you help with it?

    Regards.


  • The Kodi file for debugging is: /storage/.kodi/temp/kodi.log

    Don't forget to enable debug logging before

    The logfile for TVHeadend is under:

    /storage/.kodi/userdata/addon_data/service.tvheadend42/service.log


    Thanks!

    Where could I enable the debug logging?

    I will try it.

    Kind regards.

  • I try it.

    Kodi log is workig great:

    Code
    # tail -f /storage/.kodi/temp/kodi.log

    But I have nothing for Tvheadened client:

    Code
    # ls -lh /storage/.kodi/userdata/addon_data/
    total 16
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:45 pvr.hts
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:43 service.libreelec.settings
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:44 skin.confluence
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:43 visualization.projectm


    Code
    # ls -lh /storage/.kodi/userdata/addon_data/pvr.hts/
    total 4
    -rw-r--r--    1 root     root         861 Oct 30 16:45 settings.xml

    Need I activate the tvh logging?

    Thanks and regards.


  • from where did you installled TVHeadend from? From the LibreELEC repo? And if yes, which version?

    Hello,

    Yes, I installed from Libreelec repo and the version is 2.2.15.

    Need I change something here?

    Thanks for the help.

    Regards.

  • Sorry, my fault

    the path I gave you was for the "service" not for the client.

    If you play a recorded file, then the client shouldn't matter, as the file played back by kodi itself. So it's the kodi.log which is important.

    Otherwise you have to enable PVR-client specfic logging at Kodi settings to get a log for the client and then it's the kodi.log again.


  • Sorry, my fault

    the path I gave you was for the "service" not for the client.

    If you play a recorded file, then the client shouldn't matter, as the file played back by kodi itself. So it's the kodi.log which is important.

    Otherwise you have to enable PVR-client specfic logging at Kodi settings to get a log for the client and then it's the kodi.log again.

    Thanks!