summaryrefslogtreecommitdiff
path: root/notmuch-ssh-server
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-03-08 23:02:05 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-03-08 23:02:05 +0100
commit76d360035548c21b387248549e69fc722ad43427 (patch)
treebe813b6bb6ab6144c7e625d64adccaa1664ea9a4 /notmuch-ssh-server
parent47587ca0a996dca8e027d368e5e4400a6edca712 (diff)
downloadutils-76d360035548c21b387248549e69fc722ad43427.tar
utils-76d360035548c21b387248549e69fc722ad43427.tar.gz
utils-76d360035548c21b387248549e69fc722ad43427.tar.bz2
utils-76d360035548c21b387248549e69fc722ad43427.tar.xz
utils-76d360035548c21b387248549e69fc722ad43427.zip
...
Diffstat (limited to 'notmuch-ssh-server')
-rw-r--r--notmuch-ssh-server4
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
7from pathlib import Path 7from pathlib import Path
8from configparser import ConfigParser 8from configparser import ConfigParser
9import logging 9import logging
10from logging.handlers import SysLogHandler
10 11
11 12
12logging.basicConfig(handlers = [logging.handlers.SysLogHandler()], level = logging.DEBUG) 13syslog = SysLogHandler
14logging.basicConfig(handlers = [syslog], level = logging.DEBUG)
13 15
14 16
15config = ConfigParser() 17config = ConfigParser()