Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
sensorfw | ||
======== | ||
|
||
please use https://bugs.merproject.org to file bugs. | ||
Please use https://bugs.merproject.org to file bugs. | ||
|
||
Debugging: | ||
|
||
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 | ||
Debugging | ||
--------- | ||
|
||
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 | ||
``` | ||
journalctl -af | ||
Dynamically increase debug level | ||
|
||
from commandline: | ||
|
||
``` | ||
Dynamically increase debug level from command line: | ||
``` | ||
devel-su | ||
kill -USR1 \`pgrep sensorfwd\` | ||
twice for highest output level. | ||
|
||
``` | ||
For status report: | ||
|
||
``` | ||
devel-su | ||
kill -USR2 \`pgrep sensorfwd\` | ||
Static increase debugging level | ||
|
||
If running from systemd, edit /lib/systemd/system/sensorfwd.service and change --log-level=warning to --log-level=test or do: | ||
|
||
``` | ||
If running from systemd, edit `/lib/systemd/system/sensorfwd.service` and change `--log-level=warning` to `--log-level=test` or do: | ||
``` | ||
devel-su | ||
sed -i -e 's/--log-level=warning/--log-level=test/' /lib/systemd/system/sensorfwd.service | ||
``` | ||
then run | ||
|
||
``` | ||
devel-su | ||
systemctl daemon-reload | ||
``` | ||
Then reboot or | ||
|
||
``` | ||
systemctl restart sensorfwd | ||
|
||
|
||
``` |