[skip ci] logging tweak

This commit is contained in:
Brahim Hadriche committed 2025-06-19 11:05:13 -04:00
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