Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1212

SLF4J usage issues

    XMLWordPrintable

Details

    Description

      I found the following logging issues:

      1. toString() invocation
        logger.trace("in ANON: value from data object: *** {} ***", data.toString());
        
      2. string concatenation
        logger.trace("text value is: " + text);
        
      3. hard work in logging without level check
        if (logger.isInfoEnabled()) {
            // hard work
        }
        

      Attachments

        Activity

          People

            andrey.pustovetov@gmail.com Andrey Pustovetov (Inactive)
            andrey.pustovetov@gmail.com Andrey Pustovetov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: