From 556d56d6b53c03b21b63b188a830670b033a1509 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Sun, 19 Oct 2014 16:33:14 +0800 Subject: [PATCH] better logging --- scripts/on_update_notification | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/on_update_notification b/scripts/on_update_notification index 2c4ac91..7735702 100755 --- a/scripts/on_update_notification +++ b/scripts/on_update_notification @@ -28,6 +28,8 @@ def decode_msg(msg, secret): return act, int(t) def main(args, secret): + logging.info('started') + af, socktype, proto, canonname, sockaddr = socket.getaddrinfo( args.host, args.port, 0, socket.SOCK_DGRAM, 0, 0)[0] sock = socket.socket(af, socktype, proto)