Skip to content

Commit

Permalink
Revert debug code (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peiling-Ding authored Jul 18, 2023
1 parent 8a366c3 commit 549fd1d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/analytics/datalog/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,12 @@ func NewDatalogger(
func (d *Datalogger) LogAuctionObject(ao *analytics.AuctionObject) {
moa := newMoa(ao)

// printOnlineLog(moa)
printOnlineLog(moa)
if d.printToStdout {
print(moa)
}

produceOpenrtb2Auction(d.avroSchemaAuction, d.kafkaWriter, moa)

if moa.Winner_bid > 0 && (moa.Winner_cat == nil || len(moa.Winner_cat.ArrayString) == 0) {
glog.Infof("Empty Cat: %s\n", jsonifyAuctionObject(ao))
}
}

// Writes VideoObject to file
Expand Down

0 comments on commit 549fd1d

Please sign in to comment.