# limitations under the License.
import getopt
+import logging
import signal
import sys
import time
raise Exception("Signal handler called with %d" % signum)
def main(argv):
+ logging.basicConfig(level=logging.DEBUG)
signal.signal(signal.SIGHUP, handler)