Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 883 Bytes

README.md

File metadata and controls

38 lines (35 loc) · 883 Bytes
 
Feb 8, 2013
Feb 8, 2013
1
2
3
sensorfw
========
Sep 5, 2016
Sep 5, 2016
4
Please use https://bugs.merproject.org to file bugs.
Sep 5, 2016
Sep 5, 2016
5
Sep 5, 2016
Sep 5, 2016
6
7
Debugging
---------
Sep 5, 2016
Sep 5, 2016
8
Sep 5, 2016
Sep 5, 2016
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
```
Sep 5, 2016
Sep 5, 2016
11
journalctl -af
Sep 5, 2016
Sep 5, 2016
12
13
14
```
Dynamically increase debug level from command line:
```
Sep 5, 2016
Sep 5, 2016
15
16
17
devel-su
kill -USR1 \`pgrep sensorfwd\`
twice for highest output level.
Sep 5, 2016
Sep 5, 2016
18
```
Sep 5, 2016
Sep 5, 2016
19
For status report:
Sep 5, 2016
Sep 5, 2016
20
```
Sep 5, 2016
Sep 5, 2016
21
22
23
devel-su
kill -USR2 \`pgrep sensorfwd\`
Static increase debugging level
Sep 5, 2016
Sep 5, 2016
24
25
26
```
If running from systemd, edit `/lib/systemd/system/sensorfwd.service` and change `--log-level=warning` to `--log-level=test` or do:
```
Sep 5, 2016
Sep 5, 2016
27
28
devel-su
sed -i -e 's/--log-level=warning/--log-level=test/' /lib/systemd/system/sensorfwd.service
Sep 5, 2016
Sep 5, 2016
29
```
Sep 5, 2016
Sep 5, 2016
30
then run
Sep 5, 2016
Sep 5, 2016
31
```
Sep 5, 2016
Sep 5, 2016
32
33
devel-su
systemctl daemon-reload
Sep 5, 2016
Sep 5, 2016
34
```
Sep 5, 2016
Sep 5, 2016
35
Then reboot or
Sep 5, 2016
Sep 5, 2016
36
```
Sep 5, 2016
Sep 5, 2016
37
systemctl restart sensorfwd
Sep 5, 2016
Sep 5, 2016
38
```