add log
This commit is contained in:
@@ -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,
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user