forked from p15670423/monkey
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:
parent
19e9fe5fb9
commit
f86ff4fbd7
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue