diff --git a/Tautulli.py b/Tautulli.py index ec7c5b6a..c51e51e1 100755 --- a/Tautulli.py +++ b/Tautulli.py @@ -131,8 +131,7 @@ def main(): if args.daemon: if sys.platform == 'win32': - sys.stderr.write( - "Daemonizing not supported under Windows, starting normally\n") + logger.warn("Daemonizing not supported under Windows, starting normally") else: plexpy.DAEMON = True plexpy.QUIET = True diff --git a/plexpy/webstart.py b/plexpy/webstart.py index c34ac878..a4b5ab69 100644 --- a/plexpy/webstart.py +++ b/plexpy/webstart.py @@ -264,7 +264,7 @@ def initialize(options): cherrypy.engine.start() cherrypy.engine.block() except IOError: - sys.stderr.write('Failed to start on port: %i. Is something else running?\n' % (options['http_port'])) + logger.error("Tautulli WebStart :: Failed to start on port: %i. Is something else running?" % options['http_port']) sys.exit(1) cherrypy.server.wait()