aai-institute / pyDVL

pyDVL is a library of stable implementations of algorithms for data valuation and influence function computation
https://pydvl.org
GNU Lesser General Public License v3.0
99 stars 8 forks source link

Logger of decorator `log_duration` is always logging with level `logging.DEBUG` #575

Closed schroedk closed 4 months ago

schroedk commented 4 months ago

When using the decorator log_duration, a new logger is instantiated, which always logs no matter of the logging.BasicConfig log level.

Expected: Logging only at the level the decorator was called with.