python-masscan icon indicating copy to clipboard operation
python-masscan copied to clipboard

Logging is always enabled

Open Blotz opened this issue 2 years ago • 1 comments

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

Blotz avatar Sep 01 '22 22:09 Blotz

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

Blotz avatar Sep 01 '22 22:09 Blotz