Skip to content
Snippets Groups Projects
Verified Commit 85a733d0 authored by David Hoese's avatar David Hoese
Browse files

Fix root log dir use in ingest

parent 6a5759d8
Branches
No related tags found
No related merge requests found
......@@ -139,12 +139,9 @@ def main():
if args.cfgfile:
from logging.config import fileConfig
defaults = {}
if args.log_dir:
defaults["root_log_dir"] = args.log_dir
fileConfig(args.cfgfile, defaults=defaults)
config = read_cfg(args.cfgfile)
config.set("DEFAULT", "root_log_dir", args.log_dir)
fileConfig(config)
portdev = config.get("port")
filefmt = config.get("filefmt")
outdir = config.get("outdir")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment