Commit 2e54f624 authored by duanjinfei's avatar duanjinfei

add log

parent aa998470
......@@ -258,6 +258,7 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
isUseFileCache := true
isUseRedirect := false
for key, value := range taskParam.Headers {
log.WithField("key", key).WithField("val", value).Info("Headers Info")
if key == models.UseRedirect {
log.WithField("UseRedirect", value[0]).Info("Headers info")
if value[0] == "true" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment