Permalink
Browse files

Modify logger level in es cache cron script

  • Loading branch information...
pwnbus committed May 29, 2018
1 parent 6885ed2 commit 95503dfcbb0001be385524622f119cdf5050c891
Showing with 2 additions and 0 deletions.
  1. +2 −0 cron/esCacheMaint.py
View
@@ -9,6 +9,7 @@
import random
import requests
import sys
import logging
from configlib import getConfig, OptionParser
from datetime import datetime, date, timedelta
@@ -105,6 +106,7 @@ def initConfig():
parser.add_option("-c", dest='configfile', default=sys.argv[0].replace('.py', '.conf'), help="configuration file to use")
(options, args) = parser.parse_args()
initConfig()
logger.level = logging.WARNING
logger.debug('starting')
main()

0 comments on commit 95503df

Please sign in to comment.