diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index f70106859..1ef115df3 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -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() \ No newline at end of file + deluge_web.start()