mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor update for an Issue #287
This commit is contained in:
parent
32b39c72e4
commit
c3f20a136f
5 changed files with 58 additions and 16 deletions
|
|
@ -31,3 +31,7 @@ FORMATTER = logging.Formatter("\r[%(asctime)s] [%(levelname)s] %(message)s", "%H
|
|||
LOGGER_HANDLER.setFormatter(FORMATTER)
|
||||
LOGGER.addHandler(LOGGER_HANDLER)
|
||||
LOGGER.setLevel(logging.WARN)
|
||||
|
||||
def setLoggerHandler(handler):
|
||||
LOGGER.handlers = []
|
||||
LOGGER.addHandler(handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue