Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MainKronos committed Jan 9, 2022
1 parent 7bf43eb commit 42b5567
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ def GetEpisodeFileID(epId): # Converte l'epId in epFileId

def LoadLog():

# logging.config.dictConfig({ 'version': 1, 'disable_existing_loggers': True, })
logging.basicConfig(format='%(message)s')
#

# sh = logging.StreamHandler()
# sh.setFormatter(logging.Formatter('%(message)s'))
Expand All @@ -375,6 +375,11 @@ def LoadLog():
fh.setFormatter(logging.Formatter("%(message)s"))
logger.addHandler(fh)

logging.getLogger("urllib3").setLevel(logging.WARNING)
logging.getLogger("requests").setLevel(logging.WARNING)




SetLog()

Expand Down

0 comments on commit 42b5567

Please sign in to comment.