level=getattr(logging, tornado.options.options.loglevel.upper())