Traces » History » Version 2
Jaroslav Kysela, 2015-06-02 10:45
| 1 | 1 | Jaroslav Kysela | h1. Traces - verbose debugging |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Jaroslav Kysela | It is quite usuall that a developer asks you to provide more verbose logs using the tracing subsystem which tvheadend includes. If you see --trace <comma_separated_list_of_subsystems> you need to follow this. |
| 4 | 1 | Jaroslav Kysela | |
| 5 | 2 | Jaroslav Kysela | Compile tvheadend using --enable-trace option for the configure script see [[Building]] to compile tvheadend directly from sources. The traces are enabled by default, but packages - except debug versions - disables this functionality. |
| 6 | 1 | Jaroslav Kysela | |
| 7 | The first way to enable traces is from the command-line options (to specify the log file and all subsystems to debug), like: |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | ./build.linux/tvheadend -l /tmp/tvheadend.log --trace htsp,subscription,pat,pmt,bat |
||
| 11 | </pre> |
||
| 12 | |||
| 13 | The second way is to use the debugging tab in the configuration (this settings is not preserved): |
||
| 14 | |||
| 15 | !debugging.png! |