Skip to content

Commit c1822fd

Browse files
Update README.md
1 parent 88052b4 commit c1822fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ A more detailed example can be found in [main.py](src/main.py).
4040
## Troubleshooting
4141
There are plenty of things that can go wrong when logging to a remote server from an IoT device. Here are a few things to check.
4242

43+
* Is your syslog address and port correct? If you simply copied main.py, the sample IP address for the syslog server needs to be changed.
44+
* Is your logging.basicConfig(level) set too high? Default is WARNING and above unless you explicitly set something else.
4345
* Is your syslog server accepting connections? Try `echo "Testing 1 2 3" | nc 127.0.0.1 514` on the machine hosting the syslog server.
4446
* Is your IoT network firewalled? Be sure to allow port 514/UDP through.
45-
* Is your logging.basicConfig(level) set too high? Default is WARNING and above unless you explicitly set something else.
4647
* Is your MicroPython device connected to the network? Take a look at [boot.py](src/boot.py) for hints on how to get that done.
4748

4849
## Syslog server

0 commit comments

Comments
 (0)