summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <xistence@0x58.com>2020-09-27 17:56:22 -0700
committerGitHub <noreply@github.com>2020-09-27 17:56:22 -0700
commitc2980c107a372f635e307ae11d5ac33c2ba57c13 (patch)
tree0d03fd551bb5d72514a264211478956ab4ca601a
parent81bc7e0061a8c3461a9a8eccce9e01dcf51d07ae (diff)
parentd174599327bcaa0694a4097944d2a6ed99470939 (diff)
downloadwaitress-c2980c107a372f635e307ae11d5ac33c2ba57c13.tar.gz
Merge pull request #315 from lstolcman/master
Use log_info instead of print in print_listen
-rw-r--r--src/waitress/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waitress/server.py b/src/waitress/server.py
index 85e3217..cdeb3f1 100644
--- a/src/waitress/server.py
+++ b/src/waitress/server.py
@@ -356,7 +356,7 @@ class BaseWSGIServer(wasyncore.dispatcher):
channel.will_close = True
def print_listen(self, format_str): # pragma: nocover
- print(format_str.format(self.effective_host, self.effective_port))
+ self.log_info(format_str.format(self.effective_host, self.effective_port))
def close(self):
self.trigger.close()