change README.md

This commit is contained in:
2020-11-09 21:23:10 +01:00
parent 56a8586168
commit dbe7ba83b6

View File

@@ -205,8 +205,8 @@ syslog.setLevel(logging.INFO)
# enable syslog for pyinotifyd
logging.getLogger().addHandler(syslog)
# or enable syslog just for the daemon
logging.getLogger("daemon").addHandler(syslog)
# or enable syslog per logname
#logging.getLogger("logname").addHandler(syslog)
```
# Examples