Island: Set log and error_log parameters on WSGIServer constructor

Provides WSGIServer with a logger for INFO log messages and ERROR log
messages.

https://www.gevent.org/api/gevent.pywsgi.html#gevent.pywsgi.WSGIServer
This commit is contained in:
Mike Salvatore 2021-07-05 11:38:32 -04:00
parent 19e9fe5fb9
commit f86ff4fbd7
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ def _start_island_server(should_setup_only, config_options: IslandConfigOptions)
app,
certfile=config_options.crt_path,
keyfile=config_options.key_path,
log=logger,
error_log=logger,
)
_log_init_info()
http_server.serve_forever()