diff --git a/prod/upload/upload.lua b/prod/upload/upload.lua index d59a4aa..46466f7 100644 --- a/prod/upload/upload.lua +++ b/prod/upload/upload.lua @@ -58,7 +58,7 @@ while true do local http = require "resty.http" local httpc = http.new() local remote_url = string.format("%s/api/v1/ts/create_task", task_server) - ngx.log(ngx.ERR, 'remote_url -> ', remote_url) + ngx.log(ngx.INFO, 'remote_url -> ', remote_url) local res, err = httpc:request_uri( remote_url, { diff --git a/test/test_var.lua b/test/test_var.lua index 238657c..7629545 100644 --- a/test/test_var.lua +++ b/test/test_var.lua @@ -1,2 +1,4 @@ +ngx.log(ngx.INFO, "test -> ", "info") + ngx.say('file dir...', ngx.var.tmp_file_dir) ngx.say('task server...', ngx.var.task_server) \ No newline at end of file