1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00

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

@ -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)