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

Debezium mapped diagnostic contexts doesn't work

XMLWordPrintable

    • False
    • False
    • Undefined
    • Hide

      Run Debezium with log4j.properties from description.

      Expected log entries:
      2017-02-07 20:49:37,696 INFO SqlServer|dbserver1|snapshot Snapshot is using user 'debezium' with these MySQL grants: [io.debezium.connector.mysql.SnapshotReader]

       

      Actual entries:
      2017-02-07 20:49:37,696 INFO || Snapshot is using user 'debezium' with these MySQL grants: [io.debezium.connector.mysql.SnapshotReader]

      Show
      Run Debezium with log4j.properties from description. Expected log entries: 2017-02-07 20:49:37,696 INFO SqlServer|dbserver1|snapshot Snapshot is using user 'debezium' with these MySQL grants: [io.debezium.connector.mysql.SnapshotReader]   Actual entries: 2017-02-07 20:49:37,696 INFO || Snapshot is using user 'debezium' with these MySQL grants: [io.debezium.connector.mysql.SnapshotReader]

      Debezium mapped diagnostic contexts doesn't work

      log4j.properties:

      kafka.logs.dir=logs
       log4j.rootLogger=INFO, stdout, appender
       # Disable excessive reflection warnings - KAFKA-5229
       log4j.logger.org.reflections=ERROR
       log4j.appender.stdout=org.apache.log4j.ConsoleAppender
       log4j.appender.stdout.threshold=DEBUG
       log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
       log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n
       log4j.appender.appender=org.apache.log4j.DailyRollingFileAppender
       log4j.appender.appender.DatePattern='.'yyyy-MM-dd-HH
       log4j.appender.appender.File=${kafka.logs.dir}/connect-service.log
       log4j.appender.appender.layout=org.apache.log4j.PatternLayout
       log4j.appender.appender.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext} %m [%c]%n

              anmohant Anisha Mohanty
              praetorian_od Igor Serganov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: