MARX#67695 Adapter genereert veel te veel logging

svn path=/Mareon/trunk/; revision=52310
This commit is contained in:
Marcel Bourseau
2021-07-12 11:22:44 +00:00
parent 014be3b54a
commit dca0171dc6
2 changed files with 6 additions and 5 deletions

View File

@@ -598,6 +598,7 @@ function FACILITOR_2_Xtractor()
// 1.41 -- MARX#61048: Documenten versturen van Mareon naar AX // 1.41 -- MARX#61048: Documenten versturen van Mareon naar AX
// 1.50 -- MARX#62647: Koppeling AX365 - Mareon (Push) // 1.50 -- MARX#62647: Koppeling AX365 - Mareon (Push)
// 1.51 -- MARX#66742: De logging van de sync adapter voor AX365 per klant + YKPN#66746: Hago en Mondial krijgen geen mails/ meldingen meer door // 1.51 -- MARX#66742: De logging van de sync adapter voor AX365 per klant + YKPN#66746: Hago en Mondial krijgen geen mails/ meldingen meer door
// 1.52 -- MARX#67695: Adapter genereert veel te veel logging --> Logging van base64 XML nodes (van PDF bestanden) is oorzaak, we kappen de logging daarvan af op max. 1024 tekens (1K)
var G_Mareon_Adapter = "1.51"; var G_Mareon_Adapter = "1.51";
//MARX#56643: Test Haagwonen inkoopordernummer ontbreekt in Mareon ION001753 //MARX#56643: Test Haagwonen inkoopordernummer ontbreekt in Mareon ION001753

View File

@@ -483,7 +483,7 @@ function api2AX_inner (v_Url, v_API, v_req, v_type, v_discard_active_abort, v_so
{ __Log("api2AX_inner XML Response = FALSE :",1); { __Log("api2AX_inner XML Response = FALSE :",1);
__Log("api2AX_inner api2AX - HTTP <> 2xx",1); __Log("api2AX_inner api2AX - HTTP <> 2xx",1);
__Log("api2AX_inner URL: " + v_Url,1); __Log("api2AX_inner URL: " + v_Url,1);
__Log("api2AX_inner Message: " + v_msg,1); __Log("api2AX_inner Message: " + v_msg.substr(0,4*1024),1);
__Log("api2AX_inner Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1); __Log("api2AX_inner Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1);
__Log("api2AX_inner ResponseText:" + xmlhttp.responseText,1); __Log("api2AX_inner ResponseText:" + xmlhttp.responseText,1);
if (v_soort_api == 1){ if (v_soort_api == 1){
@@ -587,7 +587,7 @@ function api2_AX2012_inner (v_Url, v_API, v_req, v_type, v_soapAction, v_discard
{ __Log("api2_AX2012_inner XML Response = FALSE :",1); { __Log("api2_AX2012_inner XML Response = FALSE :",1);
__Log("api2_AX2012_inner - HTTP <> 2xx",1); __Log("api2_AX2012_inner - HTTP <> 2xx",1);
__Log("api2_AX2012_inner URL: " + v_Url,1); __Log("api2_AX2012_inner URL: " + v_Url,1);
__Log("api2_AX2012_inner Message: " + v_msg,1); __Log("api2_AX2012_inner Message: " + v_msg.substr(0,4*1024),1);
__Log("api2_AX2012_inner Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1); __Log("api2_AX2012_inner Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1);
l_resp = xmlhttp.responseText; l_resp = xmlhttp.responseText;
__Log("api2_AX2012_inner ResponseText:" + l_resp,1); __Log("api2_AX2012_inner ResponseText:" + l_resp,1);
@@ -714,7 +714,7 @@ function api2_AX365_inner (v_Url, v_API, v_req, v_type, v_soapAction, v_discard_
{ __Log("api2_AX365_inner XML Response = FALSE :",1); { __Log("api2_AX365_inner XML Response = FALSE :",1);
__Log("api2_AX365_inner - HTTP <> 2xx",1); __Log("api2_AX365_inner - HTTP <> 2xx",1);
__Log("api2_AX365_inner URL: " + v_Url,1); __Log("api2_AX365_inner URL: " + v_Url,1);
__Log("api2_AX365_inner Message: " + v_msg,1); __Log("api2_AX365_inner Message: " + v_msg.substr(0,4*1024),1);
__Log("api2_AX365_inner Status: "+ l_statusText,1); __Log("api2_AX365_inner Status: "+ l_statusText,1);
l_resp = xmlhttp.responseText; l_resp = xmlhttp.responseText;
__Log("api2_AX365_inner ResponseText:" + l_resp,1); __Log("api2_AX365_inner ResponseText:" + l_resp,1);
@@ -830,7 +830,7 @@ function apiIDentity (v_url, v_req, v_type, v_contenttype, v_discard_active_abor
else else
{ __Log("apiIDentity - HTTP <> 2xx",1); { __Log("apiIDentity - HTTP <> 2xx",1);
__Log("URL: " + v_url,1); __Log("URL: " + v_url,1);
__Log("Request: " + v_req,1); __Log("Request: " + v_req.substr(0,4*1024),1);
__Log("Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1); __Log("Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1);
__Log("ResponseText:" + xmlhttp.responseText,1); __Log("ResponseText:" + xmlhttp.responseText,1);
@@ -990,7 +990,7 @@ function api2Tobias_inner (v_Url, v_API, v_req, v_type, v_runmethod, v_discard_a
{ {
__Log("api2Tobias - HTTP <> 2xx",1); __Log("api2Tobias - HTTP <> 2xx",1);
__Log("URL: " + v_Url,1); __Log("URL: " + v_Url,1);
__Log("Request: " + v_req,1); __Log("Request: " + v_req.substr(0,4*1024),1);
__Log("Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1); __Log("Status: "+ xmlhttp.status + " " + xmlhttp.statusText,1);
__Log("ResponseText:" + xmlhttp.responseText,1); __Log("ResponseText:" + xmlhttp.responseText,1);
if (G_abort_http_error == 1) if (G_abort_http_error == 1)