Skip to content

Commit e7d51c3

Browse files
authored
Merge pull request #12 from RiveryIO/feature/eitam/change_log_debug_sp_log
Changed SP is missing to debug level
2 parents 9bd5965 + c349655 commit e7d51c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

canal/sync.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ func (c *Canal) runSyncBinlog() error {
147147
if strings.Contains(strings.ToLower(msg), strings.ToLower("procedure")) {
148148
// Cut the first row from the message since it contain the procedure call and not the entire message
149149
fl := strings.Split(msg, "\n")
150-
log.Errorf("parse SP Error: (%s)", fl[0])
150+
log.Debugf("parse SP Error: (%s)", fl[0])
151151
} else {
152-
log.Errorf("parse query(%s) err %v", e.Query, err)
152+
log.Debugf("parse query(%s) err %v", e.Query, err)
153153
}
154-
log.Error("will skip this event")
154+
log.Debugln("will skip this event")
155155
continue
156156
}
157157
for _, stmt := range stmts {

0 commit comments

Comments
 (0)