[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
+3 -3
@@ -378,12 +378,12 @@ namespace HttpClient
LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity())
#if DEBUG
m._logCurlCommand = true
#end if
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._method = "POST"
body = m._body