def _adjustLoggingFormatter():
 if hasattr(FORMATTER, '_format'):
  return
 def format(record):
  message = FORMATTER._format(record)
  message = boldifyMessage(message)
  if kb.get('prependFlag'):
   message = ('\n%s' % message)
   kb.prependFlag = False
  return message
 FORMATTER._format = FORMATTER.format
 FORMATTER.format = format

def _adjustLoggingFormatter ( ) : if hasattr ( FORMATTER , '_format' ) : return def format ( record ) : message = FORMATTER . _format ( record ) message = boldifyMessage ( message ) if kb . get ( 'prependFlag' ) : message = ( '\n%s' % message ) kb . prependFlag = False return message FORMATTER . _format = FORMATTER . format FORMATTER . format = format
solves problem of line deletition caused by overlapping logging messages and retrieved data info in inference mode .