Skip to content

Commit

Permalink
Merge pull request #315 from lstolcman/master
Browse files Browse the repository at this point in the history
Use log_info instead of print in print_listen
  • Loading branch information
digitalresistor committed Sep 28, 2020
2 parents 81bc7e0 + d174599 commit c2980c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waitress/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def maintenance(self, now):
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()
Expand Down

0 comments on commit c2980c1

Please sign in to comment.