Removing old logging

This commit is contained in:
samwiseg0 2018-12-04 19:16:00 -05:00
parent 50c1be7e41
commit aa04ea84b7
6 changed files with 19 additions and 20 deletions

View file

@ -12,6 +12,7 @@ from varken.tautulli import TautulliAPI
from varken.radarr import RadarrAPI
from varken.ombi import OmbiAPI
from varken.dbmanager import DBManager
from varken.varkenlogger import VarkenLogger
def threaded(job):
thread = threading.Thread(target=job)
@ -19,6 +20,9 @@ def threaded(job):
if __name__ == "__main__":
vl = VarkenLogger()
vl.logger.info('Starting Varken...')
parser = ArgumentParser(prog='varken',
description='Command-line utility to aggregate data from the plex ecosystem into InfluxDB',
formatter_class=RawTextHelpFormatter)
@ -84,4 +88,3 @@ if __name__ == "__main__":
while True:
schedule.run_pending()
sleep(1)