Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nianjin committed Dec 25, 2017
1 parent 9299183 commit cecca6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion filter/accessLog.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (t *AccessLogEndPointFilter) Filter(caller motan.Caller, request motan.Requ
if response.GetException() != nil {
success = false
}
vlog.Infof("access log--%s:server:%s:%d,pt:%d, req:%s,%s,%s,%d, res:%d,%t,%+v\n", role, ip, caller.GetURL().Port, time.Since(start)/1000000, request.GetServiceName(),
vlog.Infof("access log--%s:%s:%d,pt:%d, req:%s,%s,%s,%d, res:%d,%t,%+v\n", role, ip, caller.GetURL().Port, time.Since(start)/1000000, request.GetServiceName(),
request.GetMethod(), request.GetMethodDesc(), request.GetRequestID(), response.GetProcessTime(), success, response.GetException())
return response
}
Expand Down
1 change: 0 additions & 1 deletion metrics/graphite.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ func genGraphiteMessages(localIP string, snap metrics.Registry) []string {
messages := make([]string, 0)
segments := make([]string, 0)
segmentsLength := 0
fmt.Print(snap)

snap.Each(func(key string, i interface{}) {
var segment string
Expand Down

0 comments on commit cecca6e

Please sign in to comment.