Traces » History » Version 8
Jaroslav Kysela, 2017-06-01 21:30
1 | 1 | Jaroslav Kysela | h1. Traces - verbose debugging |
---|---|---|---|
2 | |||
3 | 8 | Jaroslav Kysela | Please, *read this whole information*. If you *don't see [TRACE] lines in the log file*, you *misconfigured* something and we will ask you for new feedback which slows down the help process. |
4 | |||
5 | 5 | Jaroslav Kysela | It is quite usual that a developer asks you to provide more verbose logs using the trace (verbose logs for development) which tvheadend includes. If you see --trace <comma_separated_list_of_subsystems> you need to follow this. |
6 | 1 | Jaroslav Kysela | |
7 | 3 | 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 - disable this functionality. |
8 | 1 | Jaroslav Kysela | |
9 | 7 | Jaroslav Kysela | *!!! The [TRACE] lines are written only to the log file. You will not see them on console or syslog output. Please, enter the log file. !!!* |
10 | 6 | Jaroslav Kysela | |
11 | 1 | Jaroslav Kysela | The first way to enable traces is from the command-line options (to specify the log file and all subsystems to debug), like: |
12 | |||
13 | <pre> |
||
14 | ./build.linux/tvheadend -l /tmp/tvheadend.log --trace htsp,subscription,pat,pmt,bat |
||
15 | </pre> |
||
16 | |||
17 | The second way is to use the debugging tab in the configuration (this settings is not preserved): |
||
18 | |||
19 | !debugging.png! |