diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-08 23:02:05 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-03-08 23:02:05 +0100 |
commit | 76d360035548c21b387248549e69fc722ad43427 (patch) | |
tree | be813b6bb6ab6144c7e625d64adccaa1664ea9a4 | |
parent | 47587ca0a996dca8e027d368e5e4400a6edca712 (diff) | |
download | utils-76d360035548c21b387248549e69fc722ad43427.tar utils-76d360035548c21b387248549e69fc722ad43427.tar.gz utils-76d360035548c21b387248549e69fc722ad43427.tar.bz2 utils-76d360035548c21b387248549e69fc722ad43427.tar.xz utils-76d360035548c21b387248549e69fc722ad43427.zip |
...
-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() |