Expected Behavior
import feast
logging.basicConfig(level=level, format=FORMAT)
logging.error("msg")
should print logging message according to FORMAT
Current Behavior
It uses the format defined in feast at the module level.
Steps to reproduce
Same as in "Expected Behavior"
Specifications
- Version: 0.18.1
- Platform: Linux
- Subsystem: -
Possible Solution
I see that basicConfig is called here:
so it is possible that simply removing this call here is enough:
If there are any other entry points that need to set up logging, they should call the function, but the call in __init__.py must be removed.
Expected Behavior
should print logging message according to
FORMATCurrent Behavior
It uses the format defined in
feastat the module level.Steps to reproduce
Same as in "Expected Behavior"
Specifications
Possible Solution
I see that
basicConfigis called here:feast/sdk/python/feast/cli.py
Line 84 in c9eda79
feast/sdk/python/feast/__init__.py
Line 30 in 0ca6297
If there are any other entry points that need to set up logging, they should call the function, but the call in
__init__.pymust be removed.