mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Use logger for WSGIServer
Log exception from the WSGIServer. Exceptions from socket timeouts are currently written to stderr.
This commit is contained in:
parent
edebcf03c7
commit
7d687205bd
2 changed files with 11 additions and 0 deletions
|
@ -173,6 +173,7 @@ def serve(configuration, logger):
|
|||
server_class.client_timeout = configuration.getint("server", "timeout")
|
||||
server_class.max_connections = configuration.getint(
|
||||
"server", "max_connections")
|
||||
server_class.logger = logger
|
||||
|
||||
RequestHandler.logger = logger
|
||||
if not configuration.getboolean("server", "dns_lookup"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue