|
1 | 1 | STTRACE
|
2 |
| - Used to increase the debugging verbosity in specific or all facilities, |
3 |
| - generally mapping to a Go package. Enabling any of these also enables |
4 |
| - microsecond timestamps, file names plus line numbers. Enter a |
5 |
| - comma-separated string of facilities to trace. ``syncthing --help`` always |
6 |
| - outputs an up-to-date list. The valid facility strings are: |
7 |
| - |
8 |
| - Main and operational facilities: |
9 |
| - config |
10 |
| - Configuration loading and saving. |
11 |
| - main |
12 |
| - Main package. |
13 |
| - model |
14 |
| - The root hub; the largest chunk of the system. File pulling, index |
15 |
| - transmission and requests for chunks. |
16 |
| - scanner |
17 |
| - File change detection and hashing. |
18 |
| - versioner |
19 |
| - File versioning. |
20 |
| - |
21 |
| - Networking facilities: |
22 |
| - beacon |
23 |
| - Multicast and broadcast UDP discovery packets: Selected interfaces |
24 |
| - and addresses. |
25 |
| - connections |
26 |
| - Connection handling. |
27 |
| - dialer |
28 |
| - Dialing connections. |
29 |
| - discover |
30 |
| - Remote device discovery requests, replies and registration of |
31 |
| - devices. |
32 |
| - nat |
33 |
| - NAT discovery and port mapping. |
34 |
| - pmp |
35 |
| - NAT-PMP discovery and port mapping. |
36 |
| - protocol |
37 |
| - The BEP protocol. |
38 |
| - relay |
39 |
| - Relay interaction (``strelaysrv``). |
40 |
| - upnp |
41 |
| - UPnP discovery and port mapping. |
42 |
| - |
43 |
| - Other facilities: |
44 |
| - fs |
45 |
| - Filesystem access. |
46 |
| - events |
47 |
| - Event generation and logging. |
48 |
| - http |
49 |
| - REST API. |
50 |
| - sha256 |
51 |
| - SHA256 hashing package (this facility currently unused). |
52 |
| - sqlite |
53 |
| - The SQLite database |
54 |
| - stats |
55 |
| - Persistent device and folder statistics. |
56 |
| - sync |
57 |
| - Mutexes. Used for debugging race conditions and deadlocks. |
58 |
| - upgrade |
59 |
| - Binary upgrades. |
60 |
| - walkfs |
61 |
| - Filesystem access while walking. |
62 |
| - |
63 |
| - all |
64 |
| - All of the above. |
| 2 | + Used to increase the debugging verbosity in specific facilities, |
| 3 | + generally mapping to a Go package. Enter a comma-separated string of |
| 4 | + facilities to trace: ``api,beacon``. Optionally, a log level can be |
| 5 | + given per facility to specify something other than DEBUG: |
| 6 | + ``api:WARN,beacon:ERR``, potentially overriding a global ``--log-level`` |
| 7 | + adjustment. |
| 8 | + |
| 9 | + The valid facility strings are listed below; additionally, ``syncthing |
| 10 | + serve --help`` always outputs the most up-to-date list. |
| 11 | + |
| 12 | + api - REST API |
| 13 | + beacon - Multicast and broadcast discovery |
| 14 | + config - Configuration loading and saving |
| 15 | + connections - Connection handling |
| 16 | + db/sqlite - SQLite database |
| 17 | + dialer - Dialing connections |
| 18 | + discover - Remote device discovery |
| 19 | + events - Event generation and logging |
| 20 | + fs - Filesystem access |
| 21 | + main - Main package |
| 22 | + model - The root hub |
| 23 | + nat - NAT discovery and port mapping |
| 24 | + pmp - NAT-PMP discovery and port mapping |
| 25 | + protocol - The BEP protocol |
| 26 | + relay/client - Relay client |
| 27 | + scanner - File change detection and hashing |
| 28 | + stun - STUN functionality |
| 29 | + syncthing - Main run facility |
| 30 | + upgrade - Binary upgrades |
| 31 | + upnp - UPnP discovery and port mapping |
| 32 | + ur - Usage reporting |
| 33 | + versioner - File versioning |
| 34 | + watchaggregator - Filesystem event watcher |
65 | 35 |
|
66 | 36 | STLOCKTHRESHOLD
|
67 | 37 | Used for debugging internal deadlocks; sets debug sensitivity. Use only
|
|
0 commit comments