开发者社区> 问答> 正文

把canal服务端的日志级别改成DEBUG,然后无限快速打印下面这一条日志,然后获取不到变更数据,这

2018-04-09 15:12:46.395 [destination = xxx_2 , address = /xxx.xxx.xxx.xxx:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=8764275,serverId=10294,timestamp=1523224556000] to be pending start position before finding another proper one...

2018-04-09 15:39:33.727 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12934350,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:33.804 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12934977,1523224841000, startTimestamp=1523259171081... 2018-04-09 15:39:33.805 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12934977,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:33.886 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12935073,1523224841000, startTimestamp=1523259171081... 2018-04-09 15:39:33.886 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12935073,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:33.972 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12935687,1523224841000, startTimestamp=1523259171081... 2018-04-09 15:39:33.972 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12935687,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:34.052 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12935783,1523224841000, startTimestamp=1523259171081... 2018-04-09 15:39:34.052 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12935783,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:34.128 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12938728,1523224841000, startTimestamp=1523259171081... 2018-04-09 15:39:34.128 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12938728,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:34.207 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12938824,1523224841000, startTimestamp=1523259171081... 2018-04-09 15:39:34.207 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - set EntryPosition[included=false,journalName=mysql-bin.000789,position=12938824,serverId=xxx94,timestamp=1523224841000] to be pending start position before finding another proper one... 2018-04-09 15:39:34.280 [destination = xxx , address = /192.168.xxx.94:3306 , EventParser] DEBUG c.a.otter.canal.parse.inbound.mysql.MysqlEventParser - compare exit condition:mysql-bin.000789,12939336,1523224841000, startTimestamp=1523259171081...

原提问者GitHub用户hnwkz

展开
收起
绿子直子 2023-05-09 10:40:11 218 0
1 条回答
写回答
取消 提交回答
  • 这是在定位位点时打印的debug信息

    原回答者GitHub用户agapple

    2023-05-10 10:08:27
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载