def apprunner(args=sys.argv): signal.signal(signal.SIGINT, lambda sig,oth: os.abort()) FLAGS(args) util.setuplogging() web.webapi.config.debug = False app = web.application(urls, globals()).wsgifunc() s = wsgiserver.CherryPyWSGIServer((FLAGS.ip, FLAGS.port), app, server_name='cs4500.server') s.start()
def testsetuplogging(self): #TODO(wan): Make this better util.setuplogging()