Putorders compact logging ook echt compact

svn path=/Website/branches/v2022.1/; revision=55524
This commit is contained in:
Jos Groot Lipman
2022-04-06 13:50:35 +00:00
parent 7b4fa311ff
commit 782521f2dd
3 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,6 @@ function sendNotification(ref_key, pcode, params)
var notiPRSed = 0;
while (!oRs.Eof)
{
Log2File(1, "\n");
Log2File(2, "\n\n" + Fill(100, "="));
Log2File(1, "== Notificatie: "
+ oRs("fac_notificatie_key").value + " "

View File

@@ -37,7 +37,8 @@ function Log2File(level, str, severity)
logfilename = PUO_LOGPATH + "putordersI_" + logfilename; // voorkennis: de immediate versie
var simpellogfilename = logfilename.replace(/\.log$/, ".compact.log");
if ((level <= S("puo_loglevel") && level < 2) || severity == "E" || severity == "F")
var excludesimpel = /^(SELECT xml.|XML blob|Load company style|Searching attachments)/;
if ((level <= S("puo_loglevel") && level < 2 && !str.match(excludesimpel)) || severity == "E" || severity == "F")
{
try
{

View File

@@ -287,7 +287,7 @@ function mergeXMLAttachments2(iXml, p_xslPath, xmltag, keynaam, pNiveau)
var NodeList = iXml.documentElement.selectNodes(xmltag);
if (NodeList.length > 0)
{
Log2File(1, "*> mergeXMLAttachments");
Log2File(2, "*> mergeXMLAttachments");
for (var index=0; index < NodeList.length; index++)
{