Putorders compact logging ook echt compact
svn path=/Website/branches/v2022.1/; revision=55524
This commit is contained in:
@@ -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 + " "
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user