added logging, so flask app errors are in httpd error log