Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
uWSGI / tests / logger.py
Size: Mime:
import uwsgi

uwsgi.log("I am uWSGI %s" % uwsgi.version)

def application(env, start_response):
	start_response('200 OK', [('Content-Type','text/html')])
	uwsgi.log(str(env))

	if env['PATH_INFO'] == '/logme':
		uwsgi.log_this_request()
	return "log written"