aboutsummaryrefslogtreecommitdiff
path: root/vland.py
diff options
context:
space:
mode:
Diffstat (limited to 'vland.py')
-rw-r--r--vland.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/vland.py b/vland.py
index e9e5ee8..49e7f36 100644
--- a/vland.py
+++ b/vland.py
@@ -92,13 +92,13 @@ while state.running:
json_data = ipc.server_recv()
except SocketError as e:
print e
- print 'Caught IPC error, ignoring'
+ logging.debug('Caught IPC error, ignoring')
continue
except:
ipc.server_close()
raise
- print "client %s sent us:" % json_data['client_name']
+ logging.debug("client %s sent us:" % json_data['client_name'])
print json_data
response = {}
@@ -166,7 +166,7 @@ while state.running:
response['response'] = 'ERROR'
response['error'] = 'VLANd API not yet implemented...'
- print "sending reply:"
+ logging.debug("sending reply:")
print response
ipc.server_reply(response)