change README.md
This commit is contained in:
11
README.md
11
README.md
@@ -172,8 +172,7 @@ w = Watch(
|
|||||||
rec=False,
|
rec=False,
|
||||||
auto_add=False)
|
auto_add=False)
|
||||||
|
|
||||||
pyinotifyd.add_watch(
|
pyinotifyd.add_watch(watch=w)
|
||||||
watch=w)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Logging
|
## Logging
|
||||||
@@ -197,14 +196,10 @@ setLoglevel(INFO, logname="daemon")
|
|||||||
Send log messages to the local syslog server.
|
Send log messages to the local syslog server.
|
||||||
```python
|
```python
|
||||||
# Enable logging to local syslog server (/dev/log). Use *address* to specify a different target.
|
# Enable logging to local syslog server (/dev/log). Use *address* to specify a different target.
|
||||||
enableSyslog(
|
enableSyslog(loglevel=INFO, address="/dev/log")
|
||||||
loglevel=INFO,
|
|
||||||
address="/dev/log")
|
|
||||||
|
|
||||||
# Enable syslog per logname
|
# Enable syslog per logname
|
||||||
enableSyslog(
|
enableSyslog(lglevel=INFO, name="daemon")
|
||||||
loglevel=INFO,
|
|
||||||
name="daemon")
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user