summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()