mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-09 06:50:07 +00:00
Adding support for boldifying important logging messages
This commit is contained in:
parent
b2fe1c30f8
commit
569c9214bf
4 changed files with 16 additions and 3 deletions
|
|
@ -26,6 +26,7 @@ from extra.oset.pyoset import oset
|
|||
from extra.socks import socks
|
||||
from lib.controller.checks import checkConnection
|
||||
from lib.core.common import Backend
|
||||
from lib.core.common import boldifyMessage
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import getPublicTypeMembers
|
||||
from lib.core.common import extractRegexResult
|
||||
|
|
@ -410,7 +411,7 @@ def __adjustLoggingFormatter():
|
|||
return
|
||||
|
||||
def format(record):
|
||||
_ = FORMATTER._format(record)
|
||||
_ = boldifyMessage(FORMATTER._format(record))
|
||||
if kb.prependFlag:
|
||||
_ = "\n%s" % _
|
||||
kb.prependFlag = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue