> import ConfigParser > import logging > > import myapp > > > CONFIG_FILE = "/etc/myapp/myapp.ini" > > config_parser = ConfigParser.ConfigParser() > config_file = open(CONFIG_FILE) > config_parser.readfp(config_file,CONFIG_FILE) > > log = ... > application = myapp.create_app(CONFIG_FILE, None, log, strict=True) > > application.logger.setLevel(logging.DEBUG) > for handler in log.logger().handlers: > application.logger.addHandler(handler) >
I see nothing strange in it, but once you get 404 you continue to get it or it get fixed after a bunch of requests ? -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
