We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c11d1b commit b73d3ccCopy full SHA for b73d3cc
1 file changed
rawtools/log.py
@@ -23,14 +23,14 @@ def configure(args):
23
if args.module_name is not None:
24
logfile_basename = f"{dt.today().strftime('%Y-%m-%d_%H-%M-%S')}_{args.module_name}.log"
25
rpath = os.path.realpath(args.path[0])
26
- logging.info(f"{rpath=}")
+ logging.debug(f"{rpath=}")
27
if os.path.isdir(rpath):
28
dname = rpath
29
else:
30
dname = os.path.dirname(rpath)
31
- logging.info(f"{dname=}")
+ logging.debug(f"{dname=}")
32
lfp = os.path.join(dname, logfile_basename) # base log file path
33
- logging.info(f"{lfp=}")
+ logging.debug(f"{lfp=}")
34
fileHandler = logging.FileHandler(lfp)
35
fileHandler.setFormatter(logFormatter)
36
fileHandler.setLevel(logging.DEBUG) # always show debug statements in log file
0 commit comments