Make verbose logging an advanced config option (Fixes Tautulli/Tautulli-Issues#205)

* Verbose logging is enabled by default
* Make toggleVerbose stick
This commit is contained in:
JonnyWong16 2020-01-20 20:49:37 -08:00
commit b9d5e49a71
4 changed files with 12 additions and 5 deletions

View file

@ -106,8 +106,8 @@ def main():
plexpy.QUIET = True
# Do an intial setup of the logger.
logger.initLogger(console=not plexpy.QUIET, log_dir=False,
verbose=plexpy.VERBOSE)
# Require verbose for pre-initilization to see critical errors
logger.initLogger(console=not plexpy.QUIET, log_dir=False, verbose=True)
try:
plexpy.SYS_TIMEZONE = tzlocal.get_localzone()