working WSGI
add logging settings: propagate exceptions, sql
merge branch 'wsgi'