Skip to content

Commit

Permalink
feat: add client request log (#1069)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Feb 15, 2022
1 parent 5402d38 commit 4d7c510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/daemon/peer/peertask_conductor.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ func (ptm *peerTaskManager) newPeerTaskConductor(ctx context.Context, request *s

// register to scheduler, if error and disable auto back source, return error, otherwise return nil
func (pt *peerTaskConductor) register() error {
logger.Debugf("request overview, pid: %s, url: %s, filter: %s, meta: %s, tag: %s",
pt.request.PeerId, pt.request.Url, pt.request.UrlMeta.Filter, pt.request.UrlMeta, pt.request.UrlMeta.Tag)
logger.Debugf("request overview, pid: %s, url: %s, filter: %s, tag: %s, range: %s, digest: %s, header: %#v",
pt.request.PeerId, pt.request.Url, pt.request.UrlMeta.Filter, pt.request.UrlMeta.Tag, pt.request.UrlMeta.Range, pt.request.UrlMeta.Digest, pt.request.UrlMeta.Header)
// trace register
regCtx, cancel := context.WithTimeout(pt.ctx, pt.peerTaskManager.schedulerOption.ScheduleTimeout.Duration)
defer cancel()
Expand Down

0 comments on commit 4d7c510

Please sign in to comment.