Skip to content

Commit

Permalink
README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
monich committed Sep 5, 2016
1 parent 945adfb commit 6e5acd5
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions README.md
@@ -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


```

0 comments on commit 6e5acd5

Please sign in to comment.