[skip ci] logging tweak
This commit is contained in:
1 parent
8d74cb6e52
commit
d115c2ad62
1 file changed
+5
-5
@@ -378,13 +378,13 @@ namespace HttpClient
|
||||
LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity())
|
||||
|
||||
#if DEBUG
|
||||
m._logCurlCommand = true
|
||||
LogDebug(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`)
|
||||
#else
|
||||
if m._logCurlCommand = true
|
||||
LogInfo(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`)
|
||||
end if
|
||||
#end if
|
||||
|
||||
if m._logCurlCommand = true
|
||||
LogInfo(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`)
|
||||
end if
|
||||
|
||||
if m._method = "POST"
|
||||
body = m._body
|
||||
if body = invalid
|
||||
|
||||
Reference in new issue
Block a user