change README.md
This commit is contained in:
@@ -205,8 +205,8 @@ syslog.setLevel(logging.INFO)
|
|||||||
# enable syslog for pyinotifyd
|
# enable syslog for pyinotifyd
|
||||||
logging.getLogger().addHandler(syslog)
|
logging.getLogger().addHandler(syslog)
|
||||||
|
|
||||||
# or enable syslog just for the daemon
|
# or enable syslog per logname
|
||||||
logging.getLogger("daemon").addHandler(syslog)
|
#logging.getLogger("logname").addHandler(syslog)
|
||||||
```
|
```
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user