When a module-level logger explicitly sets its level to DEBUG using setLevel(logging.DEBUG), it ignores the root logger's level configuration.
This results in DEBUG messages always being processed and logged, even when the root logger is set to a higher level (e.g., WARNING or INFO).
Suggest Solution: remove both 'basicConfig' and 'setLevel'