Update filecheck

This commit is contained in:
Mike Reeves
2022-10-31 13:47:49 -04:00
committed by GitHub
parent 518d2aaa9c
commit 07e72e4013

View File

@@ -10,9 +10,9 @@ with open("/opt/so/conf/strelka/filecheck.yaml", "r") as ymlfile:
cfg = yaml.load(ymlfile)
extract_path = cfg["filecheck"]["extract_path"]
historypath = cfg["filecheck.historypath"]
strelkapath = cfg["filecheck.strelkapath"]
logfile = cfg["filecheck.logfile"]
historypath = cfg["filecheck"]["historypath"]
strelkapath = cfg["filecheck"]["strelkapath"]
logfile = cfg["filecheck"]["logfile"]
logging.basicConfig(filename=logfile, filemode='w', format='%(asctime)s - %(message)s', datefmt='%d-%b-%y %H:%M:%S', level=logging.INFO)