Skip to content

Conversation

@nevermort
Copy link

Hi folks, could you please explain for what purpose the logging library is used in ratelimit.py in that way?
import logging ... logging.debug('\t__init__: name=[{!s}]'.format(self.name)) ...

I'm experiencing a quite funny issue, any time I invoke vulners.Vulners() my root logger getting reconfigured. So I am forced to delete added Handler any time I'm using the module.

Perhaps it will be a better solution to create a dedicated logger for the module and do not use root logger?

Thanks in advance.

@nevermort
Copy link
Author

I'd be grateful if you update the PyPI package in case my PR is applicable and appropriate for you
Thx.

@aachurin aachurin merged commit 44b7fb0 into vulnersCom:master Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants