diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-10-04 21:51:24 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-10-04 21:51:24 +0300 |
commit | 357084ffe2f58e2702896a1a30502c3477dba4dc (patch) | |
tree | 307493ab0be5773dc8422fb8cf40ca3acdfbfb5e | |
parent | 250777e6b339284e79ceca192e48f9fab98ca57d (diff) | |
download | ick2-357084ffe2f58e2702896a1a30502c3477dba4dc.tar.gz |
Add: log things before slog is set up to stderr
-rw-r--r-- | debian/control | 3 | ||||
-rw-r--r-- | ick_controller.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/control b/debian/control index 8a6b14c..972dd7d 100644 --- a/debian/control +++ b/debian/control @@ -19,7 +19,8 @@ Build-Depends: debhelper (>= 9~), pylint3, gunicorn3, python3-yaml, - cmdtest + cmdtest, + copyright-statement-lint Package: ick2 Architecture: all diff --git a/ick_controller.py b/ick_controller.py index 5d3c5e3..ad8708f 100644 --- a/ick_controller.py +++ b/ick_controller.py @@ -57,7 +57,7 @@ def load_config(filename, defconf): logger = logging.getLogger() logger.setLevel(logging.DEBUG) -handler = logging.handlers.SysLogHandler(address='/dev/log') +handler = logging.StreamHandler() logger.addHandler(handler) logging.info('Starting ick controller main program') |