carlthome / python-audio-effects

Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.
MIT License
386 stars 53 forks source link

using local logger instead of root logger #17

Closed jinserk closed 6 years ago

jinserk commented 6 years ago

Hi,

pysndfx package uses the module-scope logging root logger, which could interfere with the other loggers. Right after calling pysndfx's logging message, my log messages are duplicated. So I'd like to ask you to use local singleton logger named 'pysndfx' by using logging.getLogger('pysndfx') instead of the root logger.

Thank you! Jinserk

carlthome commented 6 years ago

LGTM. Thanks for fixing this! 👍