Browse Source

调整日志

jiantao 4 years ago
parent
commit
cbea328c01
2 changed files with 1 additions and 2 deletions
  1. 0 1
      adslib/redis_data/order.go
  2. 1 1
      main_linux.go

+ 0 - 1
adslib/redis_data/order.go

@@ -86,7 +86,6 @@ func GetOrderInfos(dsp *utils.DspParam, fixFlag int) ([]AdOrderInfo, error) {
86 86
 		return []AdOrderInfo{}, err
87 87
 	}
88 88
 
89
-	log.Tracef("order infos: %s", orderIds)
90 89
 	orders := make([]AdOrderInfo, 0, 50)
91 90
 	for _, id := range orderIds {
92 91
 		order, err := getOrderInfo(id)

+ 1 - 1
main_linux.go

@@ -51,5 +51,5 @@ func main() {
51 51
 	setupLogger(adslib.GetConf().LogPath+"/ads.log", log.TraceLevel)
52 52
 
53 53
 	r := setupRouter()
54
-	endless.ListenAndServe(":8080", r)
54
+	endless.ListenAndServe(":1111", r)
55 55
 }