Revision 88420a63

b/vncauthproxy/proxy.py
48 48
from gevent import signal
49 49
from gevent.select import select
50 50

  
51
logger = None
52

  
51 53
class VncAuthProxy(gevent.Greenlet):
52 54
    """
53 55
    Simple class implementing a VNC Forwarder with MITM authentication as a
......
412 414
    
413 415
    # Initialize logger
414 416
    lvl = logging.DEBUG if opts.debug else logging.INFO
417

  
418
    global logger
415 419
    logger = logging.getLogger("vncauthproxy")
416 420
    logger.setLevel(lvl)
417 421
    formatter = logging.Formatter("%(asctime)s %(module)s[%(process)d] %(levelname)s: %(message)s",

Also available in: Unified diff