debug for unidentified msg
This commit is contained in:
parent
a25c33c946
commit
f5e48f3353
@ -334,6 +334,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
rule, err := getMsgParsingRule(m)
|
rule, err := getMsgParsingRule(m)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : msgRegex.")
|
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : msgRegex.")
|
||||||
|
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\n Message unidentified (%d)\n%s\n", objId, m.Text)
|
||||||
} else {
|
} else {
|
||||||
err = setObjSubTypeId(objId, rule.MsgTypeID)
|
err = setObjSubTypeId(objId, rule.MsgTypeID)
|
||||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId")
|
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId")
|
||||||
|
Loading…
Reference in New Issue
Block a user