Move some prints to log.info

This commit is contained in:
Andrew Resch 2009-04-12 20:07:41 +00:00
parent ad2b771e5d
commit 3c09d38504
1 changed files with 3 additions and 3 deletions

View File

@ -250,9 +250,9 @@ class DelugeWeb(component.Component):
SetConsoleCtrlHandler(win_handler)
def start(self):
print "%s %s." % (_("Starting server in PID"), os.getpid())
log.info("%s %s.", _("Starting server in PID"), os.getpid())
reactor.listenTCP(self.port, self.site)
print "serving on %s:%s view at http://127.0.0.1:%s" % ("0.0.0.0",
log.info("serving on %s:%s view at http://127.0.0.1:%s", "0.0.0.0",
self.port, self.port)
reactor.run()
@ -269,4 +269,4 @@ if __name__ == "__builtin__":
i.setServiceParent(sc)
elif __name__ == "__main__":
deluge_web = DelugeWeb()
deluge_web.start()
deluge_web.start()