Skip to content

Commit

Permalink
Update Readme with trace logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbabcock authored Apr 10, 2024
1 parent 8a7df52 commit e962ec7
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,18 +436,20 @@ Something wrong? Try these steps

- Enter the directory where OhmGraphite is installed
- Examine `OhmGraphite.log`, do you see any lines with an "ERROR"? Fix the error.
- If not, enable more verbose logging in `NLog.config`. Change the following line

```xml
- To see what hardward and sensors have been detected, and when metrics are
pushed to the destination, enable more logging in `NLog.config`. Change the
following line
```xml
<logger name="*" minlevel="Info" writeTo="file" />
```

to

```xml
```
to
```xml
<logger name="*" minlevel="Debug" writeTo="file" />
```

```
- Restart OhmGraphite for the logging changes to take effect
- At the bottom of `OhmGraphite.log` `DEBUG` statements should be present informing one of all the hardware sensors detected and whenever metrics are pushed somewhere.
- To see every sensor update logged (WARNING: your log file will grow large),
enable trace logging
```xml
<logger name="*" minlevel="Trace" writeTo="file" />
```
- Stumped? Open an issue with relevant parts of the log included.

0 comments on commit e962ec7

Please sign in to comment.