MyKings / python-masscan

python-masscan is a python library which helps in using masscan port scanner.
https://pypi.org/project/python-masscan/
GNU General Public License v3.0
281 stars 60 forks source link

Logging is always enabled #41

Closed Blotz closed 1 year ago

Blotz commented 2 years ago

masscan overwrites my logging settings and doesnt let me set the verbosity/format of the logger

Blotz commented 2 years ago

https://github.com/MyKings/python-masscan/blob/master/masscan/masscan.py#L14 maybe move this block of code into a

if __name__=="__main__":

block to make it run only when the file is directly called