Describe the bug
The logger verbose level is not maintained after unpickling it.
If you check the verbose level saved in model.verbose, it outputs the value correctly, but
To Reproduce
Steps to reproduce the behavior:
- Fit a model with verbose=logging.WARN (30)
- Pickle and save to a file the fitted model
- Unpickle the model
- Check the
model.logger_.getEffectiveLevel() and see that it's set as logging.DEBUG (10)
Expected behavior
The logger level should be WARN and not DEBUG
Screenshots
Desktop (please complete the following information):
Describe the bug
The logger verbose level is not maintained after unpickling it.
If you check the verbose level saved in
model.verbose, it outputs the value correctly, butTo Reproduce
Steps to reproduce the behavior:
model.logger_.getEffectiveLevel()and see that it's set as logging.DEBUG (10)Expected behavior
The logger level should be WARN and not DEBUG
Screenshots
Desktop (please complete the following information):