Open RamilCDISC opened 2 weeks ago
The issue is related to run_validation where it gets into the multithreaded Pool--the logger is a global variable and does not move into these execution contexts. We need to feed the logger into the pool with the prior config to continue the logging at the chosen setting for validations.
While running the valdiaiton command in the terminal, if the log level is not explicitly mentioned then it is set as disabled. But it is noticed that the engine still puts INFO logs even though the logs are disabled.
To Reproduce run the following command in a terminal to reproduce the issue:
python core.py validate -s sdtmig -v 3.4 -dp tests/resources/datasets/ae.xpt
The engine will output INFO logs. Following is a small part of the logs outputted by the command, for reference