From 38a9712c9085851c62cfca1986a32ba4febbe611 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Mon, 26 Aug 2019 14:43:35 +0200
Subject: [PATCH] remove loggings

---
 entity/Appointment_entity/entityfields/begin/valueProcess.js    | 1 -
 .../entityfields/deleteseries/stateProcess.js                   | 1 -
 .../Appointment_entity/entityfields/organizer/valueProcess.js   | 1 -
 .../entityfields/partstatactiongroup/stateProcess.js            | 1 -
 .../Appointment_entity/recordcontainers/jdito/contentProcess.js | 1 -
 entity/Appointment_entity/recordcontainers/jdito/onInsert.js    | 1 -
 .../entityfields/attribute_type/stateProcess.js                 | 1 -
 .../children/whitelistids_param/valueProcess.js                 | 2 --
 entity/Attribute_entity/recordcontainers/jdito/onUpdate.js      | 2 --
 entity/Employee_entity/recordcontainers/jdito/contentProcess.js | 2 --
 entity/Offer_entity/entityfields/header/valueProcess.js         | 1 -
 entity/Offeritem_entity/grantCreateProcess.js                   | 1 -
 .../entityfields/turnoverlastyear/valueProcess.js               | 1 -
 .../entityfields/turnoverpercentdiff/colorProcess.js            | 1 -
 .../entityfields/turnoverpercentdiff/valueProcess.js            | 1 -
 entity/Organisation_entity/recordcontainers/db/onDBUpdate.js    | 1 -
 .../PermissionDetail_entity/recordcontainers/jdito/onDelete.js  | 1 -
 entity/Productprice_entity/onValidation.js                      | 2 --
 process/ActivityTask_lib/process.js                             | 1 -
 process/CountryInfoData_lib/process.js                          | 1 -
 process/DocumentTemplate_lib/process.js                         | 1 -
 21 files changed, 25 deletions(-)

diff --git a/entity/Appointment_entity/entityfields/begin/valueProcess.js b/entity/Appointment_entity/entityfields/begin/valueProcess.js
index f87cdc03567..48c50b4d7e2 100644
--- a/entity/Appointment_entity/entityfields/begin/valueProcess.js
+++ b/entity/Appointment_entity/entityfields/begin/valueProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.neon");
 import("system.vars");
 import("system.calendars");
diff --git a/entity/Appointment_entity/entityfields/deleteseries/stateProcess.js b/entity/Appointment_entity/entityfields/deleteseries/stateProcess.js
index 2ca0974708b..36f56dfc2b2 100644
--- a/entity/Appointment_entity/entityfields/deleteseries/stateProcess.js
+++ b/entity/Appointment_entity/entityfields/deleteseries/stateProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.tools");
 import("system.vars");
 import("system.result");
diff --git a/entity/Appointment_entity/entityfields/organizer/valueProcess.js b/entity/Appointment_entity/entityfields/organizer/valueProcess.js
index 6b6bc2ad590..f299a402079 100644
--- a/entity/Appointment_entity/entityfields/organizer/valueProcess.js
+++ b/entity/Appointment_entity/entityfields/organizer/valueProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.neon");
 import("system.vars");
 import("system.calendars");
diff --git a/entity/Appointment_entity/entityfields/partstatactiongroup/stateProcess.js b/entity/Appointment_entity/entityfields/partstatactiongroup/stateProcess.js
index 015a529d23d..86a064a2eaf 100644
--- a/entity/Appointment_entity/entityfields/partstatactiongroup/stateProcess.js
+++ b/entity/Appointment_entity/entityfields/partstatactiongroup/stateProcess.js
@@ -1,5 +1,4 @@
 import("system.calendars");
-import("system.logging");
 import("system.result");
 import("system.vars");
 import("system.tools");
diff --git a/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js b/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js
index babcd827e56..202b9d52387 100644
--- a/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js
+++ b/entity/Appointment_entity/recordcontainers/jdito/contentProcess.js
@@ -1,6 +1,5 @@
 import("Employee_lib");
 import("system.tools");
-import("system.logging");
 import("system.db");
 import("Sql_lib");
 import("system.result");
diff --git a/entity/Appointment_entity/recordcontainers/jdito/onInsert.js b/entity/Appointment_entity/recordcontainers/jdito/onInsert.js
index 0fae64a0fc1..a109e86f925 100644
--- a/entity/Appointment_entity/recordcontainers/jdito/onInsert.js
+++ b/entity/Appointment_entity/recordcontainers/jdito/onInsert.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.neon");
 import("system.calendars");
 import("system.vars");
diff --git a/entity/Attribute_entity/entityfields/attribute_type/stateProcess.js b/entity/Attribute_entity/entityfields/attribute_type/stateProcess.js
index 8c6709ec5b1..e51f552d38e 100644
--- a/entity/Attribute_entity/entityfields/attribute_type/stateProcess.js
+++ b/entity/Attribute_entity/entityfields/attribute_type/stateProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.db");
 import("system.neon");
 import("system.result");
diff --git a/entity/Attribute_entity/entityfields/keywordattributetypes/children/whitelistids_param/valueProcess.js b/entity/Attribute_entity/entityfields/keywordattributetypes/children/whitelistids_param/valueProcess.js
index 7b6ff8c9c50..2e9ce3a224e 100644
--- a/entity/Attribute_entity/entityfields/keywordattributetypes/children/whitelistids_param/valueProcess.js
+++ b/entity/Attribute_entity/entityfields/keywordattributetypes/children/whitelistids_param/valueProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.db");
 import("system.neon");
 import("system.result");
@@ -20,6 +19,5 @@ if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW || vars.get("$sys.re
             if ($AttributeTypes[attrType].toString() != $AttributeTypes.COMBOVALUE.toString())
                 possibleTypes.push($AttributeTypes[attrType].toString());
     }
-    logging.log(JSON.stringify(possibleTypes, null, "\t"))
     result.object(possibleTypes);
 }
\ No newline at end of file
diff --git a/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js b/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js
index cc709a73a61..6150eacfd7a 100644
--- a/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js
+++ b/entity/Attribute_entity/recordcontainers/jdito/onUpdate.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("Sql_lib");
 import("system.db");
 import("system.vars");
@@ -22,6 +21,5 @@ var values = [
     rowdata["DROPDOWNFILTER.value"] || "",
     rowdata["SORTING.value"] || ""
 ];
-logging.log(JSON.stringify(values, null, "\t"))
 db.updateData("AB_ATTRIBUTE", columns, null, values, 
     SqlCondition.equals("AB_ATTRIBUTE.AB_ATTRIBUTEID", vars.get("$field.UID"), "1=2"));
\ No newline at end of file
diff --git a/entity/Employee_entity/recordcontainers/jdito/contentProcess.js b/entity/Employee_entity/recordcontainers/jdito/contentProcess.js
index f71e1a279f4..870d945fe51 100644
--- a/entity/Employee_entity/recordcontainers/jdito/contentProcess.js
+++ b/entity/Employee_entity/recordcontainers/jdito/contentProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("Sql_lib");
 import("system.db");
 import("Attribute_lib");
@@ -70,7 +69,6 @@ var filterFields = ["UID", "TITLE", "ISACTIVE", "FIRSTNAME", "LASTNAME", "EMAIL_
 var filterFns = {
     "ROLE_FILTER" : function (pRecordVal, pFilterVal, pOperator)
     {
-        logging.log([pRecordVal, pFilterVal])
         if (!pRecordVal)
             pRecordVal = [];
         switch (pOperator)
diff --git a/entity/Offer_entity/entityfields/header/valueProcess.js b/entity/Offer_entity/entityfields/header/valueProcess.js
index 5ebdc79fc02..22155f8589a 100644
--- a/entity/Offer_entity/entityfields/header/valueProcess.js
+++ b/entity/Offer_entity/entityfields/header/valueProcess.js
@@ -1,5 +1,4 @@
 import("Sql_lib");
-import("system.logging");
 import("system.result");
 import("system.vars");
 import("system.neon");
diff --git a/entity/Offeritem_entity/grantCreateProcess.js b/entity/Offeritem_entity/grantCreateProcess.js
index 658fcf03ff4..b8e2e7b1a84 100644
--- a/entity/Offeritem_entity/grantCreateProcess.js
+++ b/entity/Offeritem_entity/grantCreateProcess.js
@@ -1,6 +1,5 @@
 import("system.vars");
 import("system.result");
 import("Offer_lib");
-import("system.logging");
 
 result.string(OfferUtils.isEditable(vars.get("$param.OfferStatus_param")));
\ No newline at end of file
diff --git a/entity/Organisation_entity/entityfields/turnoverlastyear/valueProcess.js b/entity/Organisation_entity/entityfields/turnoverlastyear/valueProcess.js
index fcf33532b8f..f89ea7a28de 100644
--- a/entity/Organisation_entity/entityfields/turnoverlastyear/valueProcess.js
+++ b/entity/Organisation_entity/entityfields/turnoverlastyear/valueProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.datetime");
 import("system.vars");
 import("system.db");
diff --git a/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js b/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js
index 9f881847a2d..c1eb963faca 100644
--- a/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js
+++ b/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js
@@ -1,5 +1,4 @@
 import("system.result");
-import("system.logging");
 import("system.vars");
 import("system.neon");
 
diff --git a/entity/Organisation_entity/entityfields/turnoverpercentdiff/valueProcess.js b/entity/Organisation_entity/entityfields/turnoverpercentdiff/valueProcess.js
index 4d60d87f534..d5ce906662c 100644
--- a/entity/Organisation_entity/entityfields/turnoverpercentdiff/valueProcess.js
+++ b/entity/Organisation_entity/entityfields/turnoverpercentdiff/valueProcess.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.result");
 import("system.vars");
 
diff --git a/entity/Organisation_entity/recordcontainers/db/onDBUpdate.js b/entity/Organisation_entity/recordcontainers/db/onDBUpdate.js
index fa1b2d68c5d..e1c84abb098 100644
--- a/entity/Organisation_entity/recordcontainers/db/onDBUpdate.js
+++ b/entity/Organisation_entity/recordcontainers/db/onDBUpdate.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.vars");
 import("Organisation_lib");
 import("Communication_lib");
diff --git a/entity/PermissionDetail_entity/recordcontainers/jdito/onDelete.js b/entity/PermissionDetail_entity/recordcontainers/jdito/onDelete.js
index 019ce21db76..d061d0fd357 100644
--- a/entity/PermissionDetail_entity/recordcontainers/jdito/onDelete.js
+++ b/entity/PermissionDetail_entity/recordcontainers/jdito/onDelete.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.tools");
 import("Sql_lib");
 import("system.neon");
diff --git a/entity/Productprice_entity/onValidation.js b/entity/Productprice_entity/onValidation.js
index 2f63d928b70..393e20d490d 100644
--- a/entity/Productprice_entity/onValidation.js
+++ b/entity/Productprice_entity/onValidation.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("Product_lib");
 import("system.translate");
 import("system.result");
@@ -23,7 +22,6 @@ var priceList = {
                 validFrom: vars.get("$field.VALID_FROM"),
                 validTo: vars.get("$field.VALID_TO")
             };
-logging.log(JSON.stringify([priceList], null, "\t"))
 var identicalPriceList = ProductUtils.checkForIndenticalPriceLists(vars.get("$field.PRODUCT_ID"), priceList);
 if(identicalPriceList != null)
 {
diff --git a/process/ActivityTask_lib/process.js b/process/ActivityTask_lib/process.js
index 2f53d5bc57f..ff4762bb200 100644
--- a/process/ActivityTask_lib/process.js
+++ b/process/ActivityTask_lib/process.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("Binary_lib");
 import("system.vars");
 import("system.util");
diff --git a/process/CountryInfoData_lib/process.js b/process/CountryInfoData_lib/process.js
index 76f43422f42..dbd7ab94a65 100644
--- a/process/CountryInfoData_lib/process.js
+++ b/process/CountryInfoData_lib/process.js
@@ -1,5 +1,4 @@
 import("system.entities");
-import("system.logging");
 import("system.translate");
 import("system.db");
 import("DataCaching_lib");
diff --git a/process/DocumentTemplate_lib/process.js b/process/DocumentTemplate_lib/process.js
index c18f9f61c81..08df15b3f95 100644
--- a/process/DocumentTemplate_lib/process.js
+++ b/process/DocumentTemplate_lib/process.js
@@ -1,5 +1,4 @@
 import("Binary_lib");
-import("system.logging");
 import("Communication_lib");
 import("system.neon");
 import("Employee_lib");
-- 
GitLab