From e4a6b4762dacf9a028c108e2864a6d98cb0a40ed Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Sat, 15 Jun 2019 11:19:46 +0300 Subject: [PATCH] Client: Disable logger config because it fails with stream handler when run under systemd --- Drone/copter_client.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Drone/copter_client.py b/Drone/copter_client.py index e00ff85..facecb4 100644 --- a/Drone/copter_client.py +++ b/Drone/copter_client.py @@ -12,12 +12,12 @@ import messaging_lib as messaging import tasking_lib as tasking import animation_lib as animation -logging.basicConfig( # TODO all prints as logs - level=logging.DEBUG, # INFO - format="%(asctime)s [%(name)-7.7s] [%(threadName)-12.12s] [%(levelname)-5.5s] %(message)s", - handlers=[ - logging.StreamHandler(), - ]) +#logging.basicConfig( # TODO all prints as logs +# level=logging.DEBUG, # INFO +# format="%(asctime)s [%(name)-7.7s] [%(threadName)-12.12s] [%(levelname)-5.5s] %(message)s", +# handlers=[ +# logging.StreamHandler(), +# ]) logger = logging.getLogger(__name__)