from exaproxy.util.log.logger import Logger
    log = Logger('supervisor', configuration.log.supervisor)

    for arg in sys.argv[1:]:
        if arg in [
                '--',
        ]:
            break
        if arg in ['-h', '--help']:
            help()
            sys.exit(0)
        if arg in ['-i', '-fi', '--ini']:
            ini()
            sys.exit(0)
        if arg in ['-e', '-fe', '--env']:
            env()
            sys.exit(0)
        if arg in ['-di', '--diff-ini']:
            ini(True)
            sys.exit(0)
        if arg in ['-de', '--diff-env']:
            env(True)
            sys.exit(0)
        if arg in ['-v', '--version']:
            version(configuration.proxy.version)
            sys.exit(0)
        if arg in ['-d', '--debug']:
            configuration.debug.log = True
            configuration.web.debug = True
        if arg in ['-p', '--pdb']:
            # The following may fail on old version of python (but is required for debug.py)
	configuration.proxy.version = version

	from exaproxy.util.log.logger import Logger
	log = Logger('supervisor', configuration.log.supervisor)

	for arg in sys.argv[1:]:
		if arg in ['--',]:
			break
		if arg in ['-h','--help']:
			usage()
			sys.exit(0)
		if arg in ['-i','-fi','--ini']:
			ini()
			sys.exit(0)
		if arg in ['-e','-fe','--env']:
			env()
			sys.exit(0)
		if arg in ['-di','--diff-ini']:
			ini(True)
			sys.exit(0)
		if arg in ['-de','--diff-env']:
			env(True)
			sys.exit(0)
		if arg in ['-v','--version']:
			show_version(version)
			sys.exit(0)
		if arg in ['-d','--debug']:
			configuration.debug.log = True
			configuration.web.debug = True
		if arg in ['-p','--pdb']:
			# The following may fail on old version of python (but is required for debug.py)