From df54df5e65ac6c2f133bd3ee15bc575bb46d64d6 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Tue, 26 Apr 2022 11:02:07 -0700 Subject: [PATCH] Set PlexAPI log level to debug --- plexpy/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexpy/__init__.py b/plexpy/__init__.py index a7313b49..de453c0a 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -1,4 +1,4 @@ -# This file is part of Tautulli. +# This file is part of Tautulli. # # Tautulli is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -217,6 +217,7 @@ def initialize(config_file): if not PYTHON2: os.environ['PLEXAPI_CONFIG_PATH'] = os.path.join(DATA_DIR, 'plexapi.config.ini') os.environ['PLEXAPI_LOG_PATH'] = os.path.join(CONFIG.LOG_DIR, 'plexapi.log') + os.environ['PLEXAPI_LOG_LEVEL'] = 'DEBUG' plex.initialize_plexapi() if DOCKER: