Skip to content

Commit

Permalink
add log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenxia committed Jan 14, 2025
1 parent 71372eb commit a6bf2a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/persistence/nosql/nosqlplugin/cassandra/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const (
func (db *cdb) InsertDomain(ctx context.Context, row *nosqlplugin.DomainRow) error {
timeStamp := db.timeSrc.Now()
query := db.session.Query(templateCreateDomainQuery, row.Info.ID, row.Info.Name, timeStamp).WithContext(ctx)
db.logger.Info("InsertDomain ABCDDDBUG", tag.WorkflowDomainName(row.Info.Name), tag.Timestamp(timeStamp), tag.VisibilityQuery(fmt.Sprintf("%#v", query)))

applied, err := query.MapScanCAS(make(map[string]interface{}))
if err != nil {
return err
Expand Down

0 comments on commit a6bf2a2

Please sign in to comment.