log: Replace forgotten printout-statement on startup with logging.

This commit is contained in:
Kostis Anagnostopoulos @ STUW025 2015-02-27 14:36:30 +01:00
parent 2d5c382507
commit 1450b625bb
1 changed files with 2 additions and 3 deletions

View File

@ -435,9 +435,8 @@ def main(argv=None):
cache_control=cache_control,
)
server = server or "auto"
sys.stdout.write(
"This is pypiserver %s serving %r on http://%s:%s\n\n" % (__version__, ", ".join(roots), host, port))
sys.stdout.flush()
log.info("This is pypiserver %s serving %r on http://%s:%s\n\n",
__version__, ", ".join(roots), host, port)
run(app=a, host=host, port=port, server=server)