diff options
-rw-r--r-- | notmuch-ssh-server | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/notmuch-ssh-server b/notmuch-ssh-server index ec8e280..9f2ee76 100644 --- a/notmuch-ssh-server +++ b/notmuch-ssh-server | |||
@@ -7,9 +7,11 @@ from xdg import BaseDirectory | |||
7 | from pathlib import Path | 7 | from pathlib import Path |
8 | from configparser import ConfigParser | 8 | from configparser import ConfigParser |
9 | import logging | 9 | import logging |
10 | from logging.handlers import SysLogHandler | ||
10 | 11 | ||
11 | 12 | ||
12 | logging.basicConfig(handlers = [logging.handlers.SysLogHandler()], level = logging.DEBUG) | 13 | syslog = SysLogHandler |
14 | logging.basicConfig(handlers = [syslog], level = logging.DEBUG) | ||
13 | 15 | ||
14 | 16 | ||
15 | config = ConfigParser() | 17 | config = ConfigParser() |