/
README.md
38 lines (35 loc) · 883 Bytes
1
2
3
sensorfw
========
4
Please use https://bugs.merproject.org to file bugs.
5
6
7
Debugging
---------
8
9
10
Minimal debugging output is generated by default. You can increase the output in different ways. Easiest is to increase debug level on the fly with the running sensorfwd. Output can be seen with
```
11
journalctl -af
12
13
14
```
Dynamically increase debug level from command line:
```
15
16
17
devel-su
kill -USR1 \`pgrep sensorfwd\`
twice for highest output level.
18
```
19
For status report:
20
```
21
22
23
devel-su
kill -USR2 \`pgrep sensorfwd\`
Static increase debugging level
24
25
26
```
If running from systemd, edit `/lib/systemd/system/sensorfwd.service` and change `--log-level=warning` to `--log-level=test` or do:
```
27
28
devel-su
sed -i -e 's/--log-level=warning/--log-level=test/' /lib/systemd/system/sensorfwd.service
29
```
30
then run
31
```
32
33
devel-su
systemctl daemon-reload
34
```
35
Then reboot or
36
```
37
systemctl restart sensorfwd
38
```