Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/order/src/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java (original) +++ ofbiz/trunk/applications/order/src/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java Wed Mar 14 06:07:52 2012 @@ -146,7 +146,7 @@ public class ZipSalesServices { } // console log - Debug.log(newValue.get("zipCode") + "/" + newValue.get("stateCode") + "/" + newValue.get("city") + "/" + newValue.get("county") + "/" + newValue.get("fromDate")); + Debug.logInfo(newValue.get("zipCode") + "/" + newValue.get("stateCode") + "/" + newValue.get("city") + "/" + newValue.get("county") + "/" + newValue.get("fromDate"), module); } } @@ -202,7 +202,7 @@ public class ZipSalesServices { } // console log - Debug.log(newValue.get("stateCode") + "/" + newValue.get("city") + "/" + newValue.get("county") + "/" + newValue.get("fromDate")); + Debug.logInfo(newValue.get("stateCode") + "/" + newValue.get("city") + "/" + newValue.get("county") + "/" + newValue.get("fromDate"), module); } } } @@ -468,10 +468,10 @@ public class ZipSalesServices { BigDecimal taxableAmount = itemAmount; if (taxShipping) { - //Debug.log("Taxing shipping", module); + //Debug.logInfo("Taxing shipping", module); taxableAmount = taxableAmount.add(shippingAmount); } else { - Debug.log("Shipping is not taxable", module); + Debug.logInfo("Shipping is not taxable", module); } // calc tax amount Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java (original) +++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java Wed Mar 14 06:07:52 2012 @@ -1516,7 +1516,7 @@ public class PartyServices { try { partyTo = delegator.findByPrimaryKey("Party", UtilMisc.toMap("partyId", partyIdTo)); } catch (GenericEntityException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(e.getMessage()); } if (partyTo == null) { @@ -1532,7 +1532,7 @@ public class PartyServices { try { party = delegator.findByPrimaryKey("Party", UtilMisc.toMap("partyId", partyId)); } catch (GenericEntityException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(e.getMessage()); } if (party == null) { @@ -1782,7 +1782,7 @@ public class PartyServices { } addrMap.put("sequenceNum", Long.valueOf(seq)); - Debug.log("Creating map entry: " + addrMap, module); + Debug.logInfo("Creating map entry: " + addrMap, module); try { delegator.create(addrMap); } catch (GenericEntityException e) { Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java (original) +++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyWorker.java Wed Mar 14 06:07:52 2012 @@ -359,7 +359,7 @@ public class PartyWorker { List<String> sort = UtilMisc.toList("-fromDate"); EntityCondition addrCond = EntityCondition.makeCondition(addrExprs, EntityOperator.AND); List<GenericValue> addresses = EntityUtil.filterByDate(delegator.findList("PartyAndPostalAddress", addrCond, null, sort, null, false)); - //Debug.log("Checking for matching address: " + addrCond.toString() + "[" + addresses.size() + "]", module); + //Debug.logInfo("Checking for matching address: " + addrCond.toString() + "[" + addresses.size() + "]", module); if (UtilValidate.isEmpty(addresses)) { // No address matches, return an empty list @@ -374,7 +374,7 @@ public class PartyWorker { String addr1Target = PartyWorker.makeMatchingString(delegator, address.getString("address1")); if (addr1Target != null) { - Debug.log("Comparing address1 : " + addr1Source + " / " + addr1Target, module); + Debug.logInfo("Comparing address1 : " + addr1Source + " / " + addr1Target, module); if (addr1Target.equals(addr1Source)) { // address 2 field @@ -382,17 +382,17 @@ public class PartyWorker { String addr2Source = PartyWorker.makeMatchingString(delegator, address2); String addr2Target = PartyWorker.makeMatchingString(delegator, address.getString("address2")); if (addr2Target != null) { - Debug.log("Comparing address2 : " + addr2Source + " / " + addr2Target, module); + Debug.logInfo("Comparing address2 : " + addr2Source + " / " + addr2Target, module); if (addr2Source.equals(addr2Target)) { - Debug.log("Matching address2; adding valid address", module); + Debug.logInfo("Matching address2; adding valid address", module); validFound.add(address); //validParty.put(address.getString("partyId"), address.getString("contactMechId")); } } } else { if (address.get("address2") == null) { - Debug.log("No address2; adding valid address", module); + Debug.logInfo("No address2; adding valid address", module); validFound.add(address); //validParty.put(address.getString("partyId"), address.getString("contactMechId")); } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java Wed Mar 14 06:07:52 2012 @@ -147,9 +147,9 @@ public class CategoryWorker { Debug.logWarning(e.getMessage(), module); } if (rollups != null) { - // Debug.log("Rollup size: " + rollups.size(), module); + // Debug.logInfo("Rollup size: " + rollups.size(), module); for (GenericValue parent: rollups) { - // Debug.log("Adding child of: " + parent.getString("parentProductCategoryId"), module); + // Debug.logInfo("Adding child of: " + parent.getString("parentProductCategoryId"), module); GenericValue cv = null; try { @@ -160,7 +160,7 @@ public class CategoryWorker { if (cv != null) { if (excludeEmpty) { if (!isCategoryEmpty(cv)) { - //Debug.log("Child : " + cv.getString("productCategoryId") + " is not empty.", module); + //Debug.logInfo("Child : " + cv.getString("productCategoryId") + " is not empty.", module); categories.add(cv); if (recursive) { categories.addAll(getRelatedCategoriesRet(request, attributeName, cv.getString("productCategoryId"), limitView, excludeEmpty, recursive)); @@ -181,14 +181,14 @@ public class CategoryWorker { public static boolean isCategoryEmpty(GenericValue category) { boolean empty = true; long members = categoryMemberCount(category); - //Debug.log("Category : " + category.get("productCategoryId") + " has " + members + " members", module); + //Debug.logInfo("Category : " + category.get("productCategoryId") + " has " + members + " members", module); if (members > 0) { empty = false; } if (empty) { long rollups = categoryRollupCount(category); - //Debug.log("Category : " + category.get("productCategoryId") + " has " + rollups + " rollups", module); + //Debug.logInfo("Category : " + category.get("productCategoryId") + " has " + rollups + " rollups", module); if (rollups > 0) { empty = false; } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/feature/ProductFeatureServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/feature/ProductFeatureServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/product/feature/ProductFeatureServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/product/feature/ProductFeatureServices.java Wed Mar 14 06:07:52 2012 @@ -151,15 +151,15 @@ public class ProductFeatureServices { "productFeatureId", productFeatureAndAppl, "productFeatureApplTypeId", "STANDARD_FEATURE"); - //Debug.log("Using findByMap: " + findByMap); + //Debug.logInfo("Using findByMap: " + findByMap); List<GenericValue> standardProductFeatureAndAppls = EntityUtil.filterByDate(delegator.findByAnd("ProductFeatureAppl", findByMap)); if (UtilValidate.isEmpty(standardProductFeatureAndAppls)) { - // Debug.log("Does NOT have this standard feature"); + // Debug.logInfo("Does NOT have this standard feature"); hasAllFeatures = false; break; } else { - // Debug.log("DOES have this standard feature"); + // Debug.logInfo("DOES have this standard feature"); } } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java Wed Mar 14 06:07:52 2012 @@ -439,7 +439,7 @@ public class InventoryServices { return ServiceUtil.returnSuccess(); } - Debug.log("OOS Inventory Items: " + inventoryItems.size(), module); + Debug.logInfo("OOS Inventory Items: " + inventoryItems.size(), module); for (GenericValue inventoryItem: inventoryItems) { // get the incomming shipment information for the item @@ -474,7 +474,7 @@ public class InventoryServices { continue; } - Debug.log("Reservations for item: " + reservations.size(), module); + Debug.logInfo("Reservations for item: " + reservations.size(), module); // available at the time of order BigDecimal availableBeforeReserved = inventoryItem.getBigDecimal("availableToPromiseTotal"); @@ -495,7 +495,7 @@ public class InventoryServices { } } - Debug.log("Promised Date: " + actualPromiseDate, module); + Debug.logInfo("Promised Date: " + actualPromiseDate, module); // find the next possible ship date Timestamp nextShipDate = null; @@ -508,7 +508,7 @@ public class InventoryServices { } } - Debug.log("Next Ship Date: " + nextShipDate, module); + Debug.logInfo("Next Ship Date: " + nextShipDate, module); // create a modified promise date (promise date - 1 day) Calendar pCal = Calendar.getInstance(); @@ -517,17 +517,17 @@ public class InventoryServices { Timestamp modifiedPromisedDate = new Timestamp(pCal.getTimeInMillis()); Timestamp now = UtilDateTime.nowTimestamp(); - Debug.log("Promised Date + 1: " + modifiedPromisedDate, module); - Debug.log("Now: " + now, module); + Debug.logInfo("Promised Date + 1: " + modifiedPromisedDate, module); + Debug.logInfo("Now: " + now, module); // check the promised date vs the next ship date if (nextShipDate == null || nextShipDate.after(actualPromiseDate)) { if (nextShipDate == null && modifiedPromisedDate.after(now)) { // do nothing; we are okay to assume it will be shipped on time - Debug.log("No ship date known yet, but promised date hasn't approached, assuming it will be here on time", module); + Debug.logInfo("No ship date known yet, but promised date hasn't approached, assuming it will be here on time", module); } else { // we cannot ship by the promised date; need to notify the customer - Debug.log("We won't ship on time, getting notification info", module); + Debug.logInfo("We won't ship on time, getting notification info", module); Map<String, Timestamp> notifyItems = ordersToUpdate.get(orderId); if (notifyItems == null) { notifyItems = FastMap.newInstance(); @@ -545,7 +545,7 @@ public class InventoryServices { boolean needToCancel = false; if (nextShipDate == null || nextShipDate.after(farPastPromised)) { // we cannot ship until >30 days after promised; using cancel rule - Debug.log("Ship date is >30 past the promised date", module); + Debug.logInfo("Ship date is >30 past the promised date", module); needToCancel = true; } else if (currentPromiseDate != null && actualPromiseDate.equals(currentPromiseDate)) { // this is the second notification; using cancel rule @@ -555,7 +555,7 @@ public class InventoryServices { // add the info to the cancel map if we need to schedule a cancel if (needToCancel) { // queue the item to be cancelled - Debug.log("Flagging the item to auto-cancel", module); + Debug.logInfo("Flagging the item to auto-cancel", module); Map<String, Timestamp> cancelItems = ordersToCancel.get(orderId); if (cancelItems == null) { cancelItems = FastMap.newInstance(); Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java Wed Mar 14 06:07:52 2012 @@ -1032,7 +1032,7 @@ public class ProductWorker { } } // find variant - // Debug.log("=====try to find variant for product: " + productId + " and features: " + selectedFeatures); + // Debug.logInfo("=====try to find variant for product: " + productId + " and features: " + selectedFeatures); List<GenericValue> productAssocs = EntityUtil.filterByDate(delegator.findByAnd("ProductAssoc", UtilMisc.toMap("productId", productId, "productAssocTypeId","PRODUCT_VARIANT"))); boolean productFound = false; nextProd: @@ -1048,7 +1048,7 @@ nextProd: break; } // if (productFound) -// Debug.log("=====product found:" + productId + " and features: " + selectedFeatures); +// Debug.logInfo("=====product found:" + productId + " and features: " + selectedFeatures); /** * 1. variant not found so create new variant product and use the virtual product as basis, new one is a variant type and not a virtual type. @@ -1102,7 +1102,7 @@ nextProd: GenericValue productAssoc = delegator.makeValue("ProductAssoc", UtilMisc.toMap("productId", productId, "productIdTo", product.getString("productId"), "productAssocTypeId", "PRODUCT_VARIANT")); productAssoc.put("fromDate", UtilDateTime.nowTimestamp()); productAssoc.create(); - Debug.log("set the productId to: " + product.getString("productId")); + Debug.logInfo("set the productId to: " + product.getString("productId"), module); // copy the supplier List<GenericValue> supplierProducts = delegator.findByAndCache("SupplierProduct", UtilMisc.toMap("productId", productId)); Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java Wed Mar 14 06:07:52 2012 @@ -478,7 +478,7 @@ public class ProductStoreWorker { storeSurveys = EntityUtil.filterByAnd(storeSurveys, UtilMisc.toMap("groupName", groupName)); } - Debug.log("getSurvey for product " + productId,module); + Debug.logInfo("getSurvey for product " + productId,module); // limit by product if (!UtilValidate.isEmpty(productId) && !UtilValidate.isEmpty(storeSurveys)) { for (GenericValue surveyAppl: storeSurveys) { @@ -495,7 +495,7 @@ public class ProductStoreWorker { else { virtualProductId = ProductWorker.getVariantVirtualId(product); } - Debug.log("getSurvey for virtual product " + virtualProductId,module); + Debug.logInfo("getSurvey for virtual product " + virtualProductId,module); } } catch (GenericEntityException e) { Debug.logError(e, "Problem finding product from productId " + productId, module); Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingServices.java Wed Mar 14 06:07:52 2012 @@ -57,7 +57,7 @@ public class PackingServices { quantity = BigDecimal.ONE; } - Debug.log("OrderId [" + orderId + "] ship group [" + shipGroupSeqId + "] Pack input [" + productId + "] @ [" + quantity + "] packageSeq [" + packageSeq + "] weight [" + weight +"]", module); + Debug.logInfo("OrderId [" + orderId + "] ship group [" + shipGroupSeqId + "] Pack input [" + productId + "] @ [" + quantity + "] packageSeq [" + packageSeq + "] weight [" + weight +"]", module); if (weight == null) { Debug.logWarning("OrderId [" + orderId + "] ship group [" + shipGroupSeqId + "] product [" + productId + "] being packed without a weight, assuming 0", module); @@ -134,7 +134,7 @@ public class PackingServices { String boxType = boxTypeInfo.get(rowKey); session.setShipmentBoxTypeId(boxType); - Debug.log("Item: " + orderItemSeqId + " / Product: " + prdStr + " / Quantity: " + qtyStr + " / Package: " + pkgStr + " / Weight: " + wgtStr, module); + Debug.logInfo("Item: " + orderItemSeqId + " / Product: " + prdStr + " / Quantity: " + qtyStr + " / Package: " + pkgStr + " / Weight: " + wgtStr, module); // array place holders String[] quantities; Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java Wed Mar 14 06:07:52 2012 @@ -170,16 +170,16 @@ public class PackingSession implements j int thisCheck = this.checkLineForAdd(res, orderId, orderItemSeqId, shipGroupSeqId, productId, thisQty, packageSeqId, update); switch (thisCheck) { case 2: - Debug.log("Packing check returned '2' - new pack line will be created!", module); + Debug.logInfo("Packing check returned '2' - new pack line will be created!", module); toCreateMap.put(res, thisQty); qtyRemain = qtyRemain.subtract(thisQty); break; case 1: - Debug.log("Packing check returned '1' - existing pack line has been updated!", module); + Debug.logInfo("Packing check returned '1' - existing pack line has been updated!", module); qtyRemain = qtyRemain.subtract(thisQty); break; case 0: - Debug.log("Packing check returned '0' - doing nothing.", module); + Debug.logInfo("Packing check returned '0' - doing nothing.", module); break; } } @@ -290,10 +290,10 @@ public class PackingSession implements j PackingSessionLine line = this.findLine(orderId, orderItemSeqId, shipGroupSeqId, productId, invItemId, packageSeqId); BigDecimal packedQty = this.getPackedQuantity(orderId, orderItemSeqId, shipGroupSeqId, productId); - Debug.log("Packed quantity [" + packedQty + "] + [" + quantity + "]", module); + Debug.logInfo("Packed quantity [" + packedQty + "] + [" + quantity + "]", module); if (line == null) { - Debug.log("No current line found testing [" + invItemId + "] R: " + resQty + " / Q: " + quantity, module); + Debug.logInfo("No current line found testing [" + invItemId + "] R: " + resQty + " / Q: " + quantity, module); if (resQty.compareTo(quantity) < 0) { return 0; } else { @@ -301,7 +301,7 @@ public class PackingSession implements j } } else { BigDecimal newQty = update ? quantity : (line.getQuantity().add(quantity)); - Debug.log("Existing line found testing [" + invItemId + "] R: " + resQty + " / Q: " + newQty, module); + Debug.logInfo("Existing line found testing [" + invItemId + "] R: " + resQty + " / Q: " + newQty, module); if (resQty.compareTo(newQty) < 0) { return 0; } else { @@ -755,7 +755,7 @@ public class PackingSession implements j } newShipment.put("partyIdFrom", partyIdFrom); - Debug.log("Creating new shipment with context: " + newShipment, module); + Debug.logInfo("Creating new shipment with context: " + newShipment, module); Map<String, Object> newShipResp = this.getDispatcher().runSync("createShipment", newShipment); if (ServiceUtil.isError(newShipResp)) { @@ -1010,7 +1010,7 @@ public class PackingSession implements j productId = v.getString("inventoryProductId"); quantity = v.getBigDecimal("totQuantityReserved").setScale(2, BigDecimal.ROUND_HALF_UP); } - Debug.log("created item display object quantity: " + quantity + " (" + productId + ")", module); + Debug.logInfo("created item display object quantity: " + quantity + " (" + productId + ")", module); } public GenericValue getOrderItem() { Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSessionLine.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSessionLine.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSessionLine.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSessionLine.java Wed Mar 14 06:07:52 2012 @@ -204,7 +204,7 @@ public class PackingSessionLine implemen if (picklistBinId != null) { // find the pick list item - Debug.log("Looking up picklist item for bin ID #" + picklistBinId, module); + Debug.logInfo("Looking up picklist item for bin ID #" + picklistBinId, module); Delegator delegator = dispatcher.getDelegator(); Map<String, Object> itemLookup = FastMap.newInstance(); itemLookup.put("picklistBinId", picklistBinId); @@ -214,7 +214,7 @@ public class PackingSessionLine implemen itemLookup.put("inventoryItemId", this.getInventoryItemId()); GenericValue plItem = delegator.findByPrimaryKey("PicklistItem", itemLookup); if (plItem != null) { - Debug.log("Found picklist bin: " + plItem, module); + Debug.logInfo("Found picklist bin: " + plItem, module); BigDecimal itemQty = plItem.getBigDecimal("quantity"); if (itemQty.compareTo(quantity) == 0) { // set to complete @@ -229,7 +229,7 @@ public class PackingSessionLine implemen throw new GeneralException(ServiceUtil.getErrorMessage(issueResp)); } } else { - Debug.log("No item was found for lookup: " + itemLookup, module); + Debug.logInfo("No item was found for lookup: " + itemLookup, module); } } else { Debug.logWarning("*** NO Picklist Bin ID set; cannot update picklist status!", module); Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/picklist/PickListServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/picklist/PickListServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/picklist/PickListServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/picklist/PickListServices.java Wed Mar 14 06:07:52 2012 @@ -75,8 +75,8 @@ public class PickListServices { Debug.logError(e, module); return ServiceUtil.returnError(e.getMessage()); } - Debug.log("Recieved orderIdList - " + orderIdList, module); - Debug.log("Found orderHeaderList - " + orderHeaderList, module); + Debug.logInfo("Recieved orderIdList - " + orderIdList, module); + Debug.logInfo("Found orderHeaderList - " + orderHeaderList, module); } } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/shipment/ShipmentServices.java Wed Mar 14 06:07:52 2012 @@ -496,7 +496,7 @@ public class ShipmentServices { // Grab the estimate and work with it. GenericValue estimate = estimateList.get(estimateIndex); - //Debug.log("[ShippingEvents.getShipEstimate] Working with estimate [" + estimateIndex + "]: " + estimate, module); + //Debug.logInfo("[ShippingEvents.getShipEstimate] Working with estimate [" + estimateIndex + "]: " + estimate, module); // flat fees BigDecimal orderFlat = BigDecimal.ZERO; Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java Wed Mar 14 06:07:52 2012 @@ -420,7 +420,7 @@ public class DhlServices { try { requestString = UtilXml.writeXmlDocument(requestDocument); - Debug.log("AccessRequest XML Document:" + requestString); + Debug.logInfo("AccessRequest XML Document:" + requestString, module); } catch (IOException e) { String ioeErrMsg = "Error writing the AccessRequest XML Document to a String: " + e.toString(); Debug.logError(e, ioeErrMsg, module); @@ -432,7 +432,7 @@ public class DhlServices { String registerResponseString = null; try { registerResponseString = sendDhlRequest(requestString, delegator, shipmentGatewayConfigId, resource, locale); - Debug.log("DHL request for DHL Register Account:" + registerResponseString); + Debug.logInfo("DHL request for DHL Register Account:" + registerResponseString, module); } catch (DhlConnectException e) { String uceErrMsg = "Error sending DHL request for DHL Register Account: " + e.toString(); Debug.logError(e, uceErrMsg, module); @@ -445,7 +445,7 @@ public class DhlServices { try { registerResponseDocument = UtilXml.readXmlDocument(registerResponseString, false); result = handleDhlRegisterResponse(registerResponseDocument, locale); - Debug.log("DHL response for DHL Register Account:" + registerResponseString); + Debug.logInfo("DHL response for DHL Register Account:" + registerResponseString, module); } catch (SAXException e2) { String excErrMsg = "Error parsing the RegisterAccountServiceSelectionResponse: " + e2.toString(); Debug.logError(e2, excErrMsg, module); @@ -883,7 +883,7 @@ public class DhlServices { // store in db blob shipmentPackageRouteSeg.setBytes("labelImage", labelBytes); } else { - Debug.log("Failed to either decode returned DHL label or no data found in eCommerce/Shipment/Label/Image."); + Debug.logInfo("Failed to either decode returned DHL label or no data found in eCommerce/Shipment/Label/Image.", module); // TODO: VOID } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/fedex/FedexServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/fedex/FedexServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/fedex/FedexServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/fedex/FedexServices.java Wed Mar 14 06:07:52 2012 @@ -351,7 +351,7 @@ public class FedexServices { String fDXSubscriptionReplyString = null; try { fDXSubscriptionReplyString = sendFedexRequest(fDXSubscriptionRequestString, delegator, shipmentGatewayConfigId, resource, locale); - Debug.log("Fedex response for FDXSubscriptionRequest:" + fDXSubscriptionReplyString); + Debug.logInfo("Fedex response for FDXSubscriptionRequest:" + fDXSubscriptionReplyString, module); } catch (FedexConnectException e) { String errorMessage = "Error sending Fedex request for FDXSubscriptionRequest: " + e.toString(); Debug.logError(e, errorMessage, module); @@ -363,7 +363,7 @@ public class FedexServices { Document fDXSubscriptionReplyDocument = null; try { fDXSubscriptionReplyDocument = UtilXml.readXmlDocument(fDXSubscriptionReplyString, false); - Debug.log("Fedex response for FDXSubscriptionRequest:" + fDXSubscriptionReplyString); + Debug.logInfo("Fedex response for FDXSubscriptionRequest:" + fDXSubscriptionReplyString, module); } catch (SAXException se) { String errorMessage = "Error parsing the FDXSubscriptionRequest response: " + se.toString(); Debug.logError(se, errorMessage, module); @@ -1045,7 +1045,7 @@ public class FedexServices { // Store in db blob shipmentPackageRouteSeg.setBytes("labelImage", labelBytes); } else { - Debug.log("Failed to either decode returned FedEx label or no data found in Labels/OutboundLabel."); + Debug.logInfo("Failed to either decode returned FedEx label or no data found in Labels/OutboundLabel.", module); // TODO: Cancel the package } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/ups/UpsServices.java Wed Mar 14 06:07:52 2012 @@ -640,7 +640,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -661,7 +661,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -925,7 +925,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -946,7 +946,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -1150,7 +1150,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS LabelImage GIF file: [[[" + packageLabelGraphicImageString + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS LabelImage GIF file: [[[" + packageLabelGraphicImageString + "]]] to file: " + outFileName, module); } } if (labelInternationalSignatureGraphicImageBytes != null) { @@ -1161,7 +1161,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS IntlSign LabelImage GIF file: [[[" + packageLabelInternationalSignatureGraphicImageString + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS IntlSign LabelImage GIF file: [[[" + packageLabelInternationalSignatureGraphicImageString + "]]] to file: " + outFileName, module); } } if (packageLabelHTMLImageStringDecoded != null) { @@ -1172,7 +1172,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS LabelImage HTML file: [[[" + packageLabelHTMLImageStringDecoded + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS LabelImage HTML file: [[[" + packageLabelHTMLImageStringDecoded + "]]] to file: " + outFileName, module); } } } @@ -1198,7 +1198,7 @@ public class UpsServices { file.flush(); file.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS International Invoice: [[[" + imgStringDecoded + "]]] to file: " + outFile, module); + Debug.logInfo(e, "Could not save UPS International Invoice: [[[" + imgStringDecoded + "]]] to file: " + outFile, module); } } String formGroupId = UtilXml.childElementValue(formElement, "FormGroupId"); @@ -1231,7 +1231,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS High Value Report data: [[[" + fileStringDecoded + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS High Value Report data: [[[" + fileStringDecoded + "]]] to file: " + outFileName, module); } } } @@ -1355,7 +1355,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -1376,7 +1376,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -1561,7 +1561,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -1582,7 +1582,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } @@ -1871,7 +1871,7 @@ public class UpsServices { } } - Debug.log("UPS Rate Map : " + rateMap, module); + Debug.logInfo("UPS Rate Map : " + rateMap, module); Map<String, Object> resp = ServiceUtil.returnSuccess(); resp.put("upsRateCodeMap", rateMap); @@ -1980,8 +1980,8 @@ public class UpsServices { Debug.logError(e, "Unable to set timeout to " + timeOutStr + " using default " + timeout); } - //Debug.log("UPS Connect URL : " + conStr, module); - //Debug.log("UPS XML String : " + xmlString, module); + //Debug.logInfo("UPS Connect URL : " + conStr, module); + //Debug.logInfo("UPS XML String : " + xmlString, module); HttpClient http = new HttpClient(conStr); http.setTimeout(timeout * 1000); @@ -2753,7 +2753,7 @@ public class UpsServices { fileOut.flush(); fileOut.close(); } catch (IOException e) { - Debug.log(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); + Debug.logInfo(e, "Could not save UPS XML file: [[[" + xmlString.toString() + "]]] to file: " + outFileName, module); } } try { @@ -3168,7 +3168,7 @@ public class UpsServices { rateMap.put(serviceCode, new BigDecimal(totalRates)); } } - Debug.log("UPS Rate Map : " + rateMap, module); + Debug.logInfo("UPS Rate Map : " + rateMap, module); Map<String, Object> resp = ServiceUtil.returnSuccess(); resp.put("upsRateCodeMap", rateMap); return resp; Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsMockApiServlet.java Wed Mar 14 06:07:52 2012 @@ -129,7 +129,7 @@ public class UspsMockApiServlet extends try { UtilXml.writeXmlDocument(responseDocument, os, "UTF-8", true, false, 0); } catch (TransformerException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return; } Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java Wed Mar 14 06:07:52 2012 @@ -225,7 +225,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("RateV2", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsRateDomesticSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); } @@ -248,7 +248,7 @@ public class UspsServices { BigDecimal packageAmount = new BigDecimal(UtilXml.childElementValue(postageElement, "Rate")); estimateAmount = estimateAmount.add(packageAmount); } catch (NumberFormatException e) { - Debug.log(e, module); + Debug.logInfo(e, module); } } @@ -380,7 +380,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("IntlRate", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsRateInternationalSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); } @@ -401,7 +401,7 @@ public class UspsServices { Element errorElement = UtilXml.firstChildElement(packageElement, "Error"); if (errorElement != null) { String errorDescription = UtilXml.childElementValue(errorElement, "Description"); - Debug.log("USPS International Rate Calculation returned a package error: " + errorDescription); + Debug.logInfo("USPS International Rate Calculation returned a package error: " + errorDescription, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentRateNotAvailable", locale)); } @@ -415,7 +415,7 @@ public class UspsServices { BigDecimal packageAmount = new BigDecimal(UtilXml.childElementValue(serviceElement, "Postage")); estimateAmount = estimateAmount.add(packageAmount); } catch (NumberFormatException e) { - Debug.log("USPS International Rate Calculation returned an unparsable postage amount: " + UtilXml.childElementValue(serviceElement, "Postage")); + Debug.logInfo("USPS International Rate Calculation returned an unparsable postage amount: " + UtilXml.childElementValue(serviceElement, "Postage"), module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentRateNotAvailable", locale)); } @@ -464,7 +464,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("TrackV2", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsTrackingSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); } @@ -562,7 +562,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("Verify", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsAddressValidationSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); } @@ -648,7 +648,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("CityStateLookup", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsCityStateLookupSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); @@ -762,7 +762,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest(type, requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsServiceStandardSendingError", UtilMisc.toMap("serviceType", type, "errorString", e.getMessage()), locale)); @@ -867,7 +867,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("Rate", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsRateDomesticSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); @@ -1126,7 +1126,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("Rate", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsRateDomesticSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); @@ -1179,7 +1179,7 @@ public class UspsServices { shipmentRouteSegment.store(); } catch (GenericEntityException gee) { - Debug.log(gee, module); + Debug.logInfo(gee, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsRateDomesticReadingError", UtilMisc.toMap("errorString", gee.getMessage()), locale)); @@ -1396,7 +1396,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest("DeliveryConfirmationV2", requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsDeliveryConfirmationSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); @@ -1428,7 +1428,7 @@ public class UspsServices { } } catch (GenericEntityException gee) { - Debug.log(gee, module); + Debug.logInfo(gee, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsDeliveryConfirmationReadingError", UtilMisc.toMap("errorString", gee.getMessage()), locale)); @@ -1467,10 +1467,10 @@ public class UspsServices { } } catch (GenericEntityException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(e.getMessage()); } catch (IOException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(e.getMessage()); } return ServiceUtil.returnSuccess(); @@ -1632,7 +1632,7 @@ public class UspsServices { product = shipmentItem.getRelatedOne("Product"); originGeo = product.getRelatedOne("OriginGeo"); } catch (GenericEntityException e) { - Debug.log(e, module); + Debug.logInfo(e, module); } UtilXml.addChildElementValue(itemDetail, "Description", product.getString("productName"), packageDocument); @@ -1653,7 +1653,7 @@ public class UspsServices { try { responseDocument = sendUspsRequest(api, requestDocument, delegator, shipmentGatewayConfigId, resource, locale); } catch (UspsRequestException e) { - Debug.log(e, module); + Debug.logInfo(e, module); return ServiceUtil.returnError(UtilProperties.getMessage(resourceError, "FacilityShipmentUspsPriorityMailLabelSendingError", UtilMisc.toMap("errorString", e.getMessage()), locale)); Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServicesTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServicesTests.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServicesTests.java (original) +++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServicesTests.java Wed Mar 14 06:07:52 2012 @@ -58,26 +58,26 @@ public class UspsServicesTests extends O // verify the results String responseMessage = (String) result.get(ModelService.RESPONSE_MESSAGE); - Debug.log("[testUspsTrackConfirm] responseMessage: " + responseMessage, module); + Debug.logInfo("[testUspsTrackConfirm] responseMessage: " + responseMessage, module); assertEquals("Service result is success", ModelService.RESPOND_SUCCESS, responseMessage); String trackingSummary = (String) result.get("trackingSummary"); - Debug.log("[testUspsTrackConfirm] trackingSummary: " + trackingSummary, module); + Debug.logInfo("[testUspsTrackConfirm] trackingSummary: " + trackingSummary, module); assertEquals("trackingSummary is correct", "Your item was delivered at 8:10 am on June 1 in Wilmington DE 19801.", trackingSummary); List<String> trackingDetailList = UtilGenerics.checkList(result.get("trackingDetailList")); assertEquals("trackingDetailList has 3 elements", 3, trackingDetailList.size()); - Debug.log("[testUspsTrackConfirm] trackingDetailList[0]: " + trackingDetailList.get(0), module); + Debug.logInfo("[testUspsTrackConfirm] trackingDetailList[0]: " + trackingDetailList.get(0), module); assertEquals("trackingDetailList element 0 is correct", "May 30 11:07 am NOTICE LEFT WILMINGTON DE 19801.", trackingDetailList.get(0)); - Debug.log("[testUspsTrackConfirm] trackingDetailList[1]: " + trackingDetailList.get(1), module); + Debug.logInfo("[testUspsTrackConfirm] trackingDetailList[1]: " + trackingDetailList.get(1), module); assertEquals("trackingDetailList element 0 is correct", "May 30 10:08 am ARRIVAL AT UNIT WILMINGTON DE 19850.", trackingDetailList.get(1)); - Debug.log("[testUspsTrackConfirm] trackingDetailList[2]: " + trackingDetailList.get(2), module); + Debug.logInfo("[testUspsTrackConfirm] trackingDetailList[2]: " + trackingDetailList.get(2), module); assertEquals("trackingDetailList element 0 is correct", "May 29 9:55 am ACCEPT OR PICKUP EDGEWATER NJ 07020.", trackingDetailList.get(2)); } @@ -92,27 +92,27 @@ public class UspsServicesTests extends O // verify the results String responseMessage = (String) result.get(ModelService.RESPONSE_MESSAGE); - Debug.log("[testUspsAddressValidation] responseMessage: " + responseMessage, module); + Debug.logInfo("[testUspsAddressValidation] responseMessage: " + responseMessage, module); assertEquals("Service result is success", ModelService.RESPOND_SUCCESS, responseMessage); String address1 = (String) result.get("address1"); - Debug.log("[testUspsAddressValidation] address1: " + address1, module); + Debug.logInfo("[testUspsAddressValidation] address1: " + address1, module); assertEquals("address1 is correct", "6406 IVY LN", address1); String city = (String) result.get("city"); - Debug.log("[testUspsAddressValidation] city: " + city, module); + Debug.logInfo("[testUspsAddressValidation] city: " + city, module); assertEquals("city is correct", "GREENBELT", city); String state = (String) result.get("state"); - Debug.log("[testUspsAddressValidation] state: " + state, module); + Debug.logInfo("[testUspsAddressValidation] state: " + state, module); assertEquals("state is correct", "MD", state); String zip5 = (String) result.get("zip5"); - Debug.log("[testUspsAddressValidation] zip5: " + zip5, module); + Debug.logInfo("[testUspsAddressValidation] zip5: " + zip5, module); assertEquals("zip5 is correct", "20770", zip5); String zip4 = (String) result.get("zip4"); - Debug.log("[testUspsAddressValidation] zip4: " + zip4, module); + Debug.logInfo("[testUspsAddressValidation] zip4: " + zip4, module); assertEquals("zip4 is correct", "1440", zip4); } @@ -123,15 +123,15 @@ public class UspsServicesTests extends O // verify the results String responseMessage = (String) result.get(ModelService.RESPONSE_MESSAGE); - Debug.log("[testUspsCityStateLookup] responseMessage: " + responseMessage, module); + Debug.logInfo("[testUspsCityStateLookup] responseMessage: " + responseMessage, module); assertEquals("Service result is success", ModelService.RESPOND_SUCCESS, responseMessage); String city = (String) result.get("city"); - Debug.log("[testUspsCityStateLookup] city: " + city, module); + Debug.logInfo("[testUspsCityStateLookup] city: " + city, module); assertEquals("city is correct", "BEVERLY HILLS", city); String state = (String) result.get("state"); - Debug.log("[testUspsCityStateLookup] state: " + state, module); + Debug.logInfo("[testUspsCityStateLookup] state: " + state, module); assertEquals("state is correct", "CA", state); } @@ -142,11 +142,11 @@ public class UspsServicesTests extends O // verify the results String responseMessage = (String) result.get(ModelService.RESPONSE_MESSAGE); - Debug.log("[testUspsPriorityMailStandard] responseMessage: " + responseMessage, module); + Debug.logInfo("[testUspsPriorityMailStandard] responseMessage: " + responseMessage, module); assertEquals("Service result is success", ModelService.RESPOND_SUCCESS, responseMessage); String days = (String) result.get("days"); - Debug.log("[testUspsPriorityMailStandard] days: " + days, module); + Debug.logInfo("[testUspsPriorityMailStandard] days: " + days, module); assertEquals("days is correct", "1", days); } @@ -157,11 +157,11 @@ public class UspsServicesTests extends O // verify the results String responseMessage = (String) result.get(ModelService.RESPONSE_MESSAGE); - Debug.log("[testUspsPackageServicesStandard] responseMessage: " + responseMessage, module); + Debug.logInfo("[testUspsPackageServicesStandard] responseMessage: " + responseMessage, module); assertEquals("Service result is success", ModelService.RESPOND_SUCCESS, responseMessage); String days = (String) result.get("days"); - Debug.log("[testUspsPackageServicesStandard] days: " + days, module); + Debug.logInfo("[testUspsPackageServicesStandard] days: " + days, module); assertEquals("days is correct", "2", days); } @@ -186,19 +186,19 @@ public class UspsServicesTests extends O // verify the results String responseMessage = (String) result.get(ModelService.RESPONSE_MESSAGE); - Debug.log("[testUspsDomesticRate] responseMessage: " + responseMessage, module); + Debug.logInfo("[testUspsDomesticRate] responseMessage: " + responseMessage, module); assertEquals("Service result is success", ModelService.RESPOND_SUCCESS, responseMessage); String postage = (String) result.get("postage"); - Debug.log("[testUspsDomesticRate] postage: " + postage, module); + Debug.logInfo("[testUspsDomesticRate] postage: " + postage, module); assertEquals("postage is correct", "7.90", postage); String restrictionCodes = (String) result.get("restrictionCodes"); - Debug.log("[testUspsDomesticRate] restrictionCodes: " + restrictionCodes, module); + Debug.logInfo("[testUspsDomesticRate] restrictionCodes: " + restrictionCodes, module); assertEquals("restrictionCodes is correct", "B-B1-C-D-U", restrictionCodes); String restrictionDesc = (String) result.get("restrictionDesc"); - Debug.log("[testUspsDomesticRate] restrictionDesc: " + restrictionDesc, module); + Debug.logInfo("[testUspsDomesticRate] restrictionDesc: " + restrictionDesc, module); assertEquals("restrictionDesc is correct", "B. Form 2976-A", restrictionDesc.substring(0,14)); } } Modified: ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java (original) +++ ofbiz/trunk/applications/securityext/src/org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java Wed Mar 14 06:07:52 2012 @@ -91,7 +91,7 @@ public class TruitionCoReg { tru.setPath(cookiePath); tru.setMaxAge(time); resp.addCookie(tru); - Debug.log("Set Truition Cookie [" + tru.getName() + "/" + tru.getDomain() + " @ " + tru.getPath() + "] - " + tru.getValue(), module); + Debug.logInfo("Set Truition Cookie [" + tru.getName() + "/" + tru.getDomain() + " @ " + tru.getPath() + "] - " + tru.getValue(), module); } catch (UnsupportedEncodingException e) { Debug.logError(e, module); return "error"; @@ -119,7 +119,7 @@ public class TruitionCoReg { if (cookieName.equals(cookies[i].getName())) { cookies[i].setMaxAge(0); resp.addCookie(cookies[i]); - Debug.log("Set truition cookie [" + cookieName + " to expire now.", module); + Debug.logInfo("Set truition cookie [" + cookieName + " to expire now.", module); } } } @@ -131,7 +131,7 @@ public class TruitionCoReg { // redirect URL form field String redirectUrlName = UtilProperties.getPropertyValue("truition.properties", "truition.redirect.urlName"); String redirectUrl = req.getParameter(redirectUrlName); - Debug.log("Redirect to : " + redirectUrl, module); + Debug.logInfo("Redirect to : " + redirectUrl, module); if (truitionEnabled() && redirectUrl != null) { try { resp.sendRedirect(redirectUrl); @@ -141,7 +141,7 @@ public class TruitionCoReg { return "error"; } - Debug.log("Sending truition redirect - " + redirectUrl, module); + Debug.logInfo("Sending truition redirect - " + redirectUrl, module); return "redirect"; } return "success"; @@ -164,9 +164,9 @@ public class TruitionCoReg { String nickName = userLogin.getString("userLoginId"); String password = userLogin.getString("currentPassword"); String partyId = userLogin.getString("partyId"); - Debug.log(logPrefix + "nickName: " + nickName, module); - Debug.log(logPrefix + "password: " + password, module); - Debug.log(logPrefix + "partyId: " + partyId, module); + Debug.logInfo(logPrefix + "nickName: " + nickName, module); + Debug.logInfo(logPrefix + "password: " + password, module); + Debug.logInfo(logPrefix + "partyId: " + partyId, module); GenericValue party = null; try { @@ -196,9 +196,9 @@ public class TruitionCoReg { title = ""; } } - Debug.log(logPrefix + "title: " + title, module); - Debug.log(logPrefix + "firstName: " + firstName, module); - Debug.log(logPrefix + "lastName: " + lastName, module); + Debug.logInfo(logPrefix + "title: " + title, module); + Debug.logInfo(logPrefix + "firstName: " + firstName, module); + Debug.logInfo(logPrefix + "lastName: " + lastName, module); // email address String emailAddress = null; @@ -214,7 +214,7 @@ public class TruitionCoReg { } else { emailAddress = ""; } - Debug.log(logPrefix + "emailAddress: " + emailAddress, module); + Debug.logInfo(logPrefix + "emailAddress: " + emailAddress, module); // shipping address String address1 = null; @@ -250,12 +250,12 @@ public class TruitionCoReg { } } } - Debug.log(logPrefix + "address1: " + address1, module); - Debug.log(logPrefix + "address2: " + address2, module); - Debug.log(logPrefix + "city: " + city, module); - Debug.log(logPrefix + "state: " + state, module); - Debug.log(logPrefix + "zipCode: " + zipCode, module); - Debug.log(logPrefix + "country: " + country, module); + Debug.logInfo(logPrefix + "address1: " + address1, module); + Debug.logInfo(logPrefix + "address2: " + address2, module); + Debug.logInfo(logPrefix + "city: " + city, module); + Debug.logInfo(logPrefix + "state: " + state, module); + Debug.logInfo(logPrefix + "zipCode: " + zipCode, module); + Debug.logInfo(logPrefix + "country: " + country, module); // phone number String phoneNumber = null; @@ -290,7 +290,7 @@ public class TruitionCoReg { } } } - Debug.log(logPrefix + "phoneNumber: " + phoneNumber, module); + Debug.logInfo(logPrefix + "phoneNumber: " + phoneNumber, module); int retCode = -1; Modified: ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java (original) +++ ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort/WorkEffortServices.java Wed Mar 14 06:07:52 2012 @@ -516,7 +516,7 @@ public class WorkEffortServices { Collection<String> partyIds = UtilGenerics.checkCollection(context.get("partyIds")); String facilityId = (String) context.get("facilityId"); String fixedAssetId = (String) context.get("fixedAssetId"); - // Debug.log("======by period for fixedAsset: " + fixedAssetId + " facilityId: " + facilityId + "partyId: " + partyId + " entityExprList:" + (List) context.get("entityExprList")); + // Debug.logInfo("======by period for fixedAsset: " + fixedAssetId + " facilityId: " + facilityId + "partyId: " + partyId + " entityExprList:" + (List) context.get("entityExprList")); String workEffortTypeId = (String) context.get("workEffortTypeId"); Boolean filterOutCanceledEvents = (Boolean) context.get("filterOutCanceledEvents"); if (filterOutCanceledEvents == null) { @@ -639,7 +639,7 @@ public class WorkEffortServices { try { List<GenericValue> tempWorkEfforts = null; if (UtilValidate.isNotEmpty(partyIdsToUse)) { - // Debug.log("=====conditions for party: " + eclTotal); + // Debug.logInfo("=====conditions for party: " + eclTotal); tempWorkEfforts = EntityUtil.filterByDate(delegator.findList("WorkEffortAndPartyAssignAndType", eclTotal, null, orderByList, null, false)); } else { tempWorkEfforts = delegator.findList("WorkEffort", eclTotal, null, orderByList, null, false); Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayEvents.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayEvents.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayEvents.java Wed Mar 14 06:07:52 2012 @@ -192,7 +192,7 @@ public class EbayEvents { } } } - Debug.log("run in with productIds "+productIds); + Debug.logInfo("run in with productIds "+productIds, module); for (String productId : productIds) { AddItemCall addItemCall = new AddItemCall(apiContext); ItemType item = new ItemType(); @@ -1127,7 +1127,7 @@ public class EbayEvents { revReq.setSellingManagerProductDetails(prodDetailType); revResp = (ReviseSellingManagerProductResponseType) revProdCall.execute(revReq); if (revResp != null && "SUCCESS".equals(revResp.getAck().toString())) { - Debug.log(" Already update quantity on eBay inventory with product id ::"+revResp.getSellingManagerProductDetails().getProductID()); + Debug.logInfo(" Already update quantity on eBay inventory with product id ::"+revResp.getSellingManagerProductDetails().getProductID(), module); } else { EbayStoreHelper.createErrorLogMessage(userLogin, dispatcher, productStoreId, revResp.getAck().toString(), "ReviseSellingManagerProductCall : updateQuantityInventoryProduct", revResp.getErrors(0).getLongMessage()); } Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java Wed Mar 14 06:07:52 2012 @@ -640,7 +640,7 @@ public class EbayStore { } catch (GenericEntityException e1) { e1.printStackTrace(); } - Debug.log("userLoginId is "+userLoginId+" and productStoreId is "+ context.get("productStoreId")); + Debug.logInfo("userLoginId is "+userLoginId+" and productStoreId is "+ context.get("productStoreId"), module); GetStoreCall call = new GetStoreCall(EbayStoreHelper.getApiContext((String)context.get("productStoreId"), locale, delegator)); //call.setSite(EbayHelper.getSiteCodeType((String)context.get("productStoreId"), locale, delegator)); call.setCategoryStructureOnly(false); @@ -869,7 +869,7 @@ public class EbayStore { dispatcher.runSync("updateProductStore", inMap); } } catch (Exception e) { - Debug.log("error message"+e); + Debug.logError("error message"+e, module); } } Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java Wed Mar 14 06:07:52 2012 @@ -860,7 +860,7 @@ public class EbayStoreAutoPreferences { resp = (AddOrderResponseType) call.execute(req); if (resp != null && "SUCCESS".equals(resp.getAck().toString())) { String orderId = resp.getOrderID(); - Debug.log(":: new order id is = " + orderId); + Debug.logInfo(":: new order id is = " + orderId, module); } else { EbayStoreHelper.createErrorLogMessage(userLogin, dispatcher, productStoreId, resp.getAck().toString(), "Add order : runCombineOrders", resp.getErrors(0).getLongMessage()); } Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreCategoryFacade.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreCategoryFacade.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreCategoryFacade.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreCategoryFacade.java Wed Mar 14 06:07:52 2012 @@ -230,7 +230,7 @@ public class EbayStoreCategoryFacade { resp = (GetDescriptionTemplatesResponseType) call.execute(req); if (resp != null && "SUCCESS".equals(resp.getAck().toString())) { DescriptionTemplateType[] descriptionTemplateTypeList = resp.getDescriptionTemplate(); - Debug.log("layout of category "+ this.catId +":"+ resp.getLayoutTotal()); + Debug.logInfo("layout of category "+ this.catId +":"+ resp.getLayoutTotal(), module); for (DescriptionTemplateType descTemplateType : descriptionTemplateTypeList) { List<Map<String,Object>> templateList = null; Map<String,Object> templateGroup = null; Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreHelper.java Wed Mar 14 06:07:52 2012 @@ -678,7 +678,7 @@ public class EbayStoreHelper { addReq.setOrder(newOrder); addResp = (AddOrderResponseType) addOrderCall.execute(addReq); if (addResp != null && "SUCCESS".equals(addResp.getAck().toString())) { - Debug.log("Upload tracking code to eBay success..."); + Debug.logInfo("Upload tracking code to eBay success...", module); } else { createErrorLogMessage(userLogin, dctx.getDispatcher(), productStoreId, addResp.getAck().toString(), "Update order : uploadTrackingInfoBackToEbay", addResp.getErrors(0).getLongMessage()); } @@ -707,7 +707,7 @@ public class EbayStoreHelper { newMap.put("userLogin", userLogin); dispatcher.runSync("insertErrorMessagesFromEbay", newMap); } catch (Exception ex) { - Debug.log("Error from create error log messages : "+ex.getMessage()); + Debug.logError("Error from create error log messages : "+ex.getMessage(), module); } } } @@ -724,7 +724,7 @@ public class EbayStoreHelper { } } } catch (Exception ex) { - Debug.log("Error from get eBay Inventory data : "+ ex.getMessage()); + Debug.logError("Error from get eBay Inventory data : "+ ex.getMessage(), module); } return isReserve; } Modified: ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOrder.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOrder.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOrder.java (original) +++ ofbiz/trunk/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreOrder.java Wed Mar 14 06:07:52 2012 @@ -543,7 +543,7 @@ public class EbayStoreOrder { String productId = orderItem.get("productId").toString(); GenericValue product = delegator.findOne("Product", UtilMisc.toMap("productId", productId), false); if (UtilValidate.isEmpty(product)) { - Debug.log("The product having ID (" + productId + ") is misssing in the system.", module); + Debug.logError("The product having ID (" + productId + ") is misssing in the system.", module); } BigDecimal qty = new BigDecimal(orderItem.get("quantity").toString()); String itemPrice = orderItem.get("transactionPrice").toString(); Modified: ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java (original) +++ ofbiz/trunk/specialpurpose/googlebase/src/org/ofbiz/googlebase/ProductsExportToGoogle.java Wed Mar 14 06:07:52 2012 @@ -634,7 +634,7 @@ public class ProductsExportToGoogle { result.put("newProductsInGoogle", newProductsInGoogle); result.put("productsRemovedFromGoogle", productsRemovedFromGoogle); result.put("localeString", localeString); - //Debug.log("======returning with result: " + result); + //Debug.logInfo("======returning with result: " + result, module); return result; } @@ -656,7 +656,7 @@ public class ProductsExportToGoogle { private static Map<String, Object> readResponseFromGoogle(String msg, List<String> newProductsInGoogle, List<String> productsRemovedFromGoogle, LocalDispatcher dispatcher, Delegator delegator, Locale locale, String localeString) { List<String> message = FastList.newInstance(); - // Debug.log("====get xml response from google: " + msg); + // Debug.logInfo("====get xml response from google: " + msg, module); try { Document docResponse = UtilXml.readXmlDocument(msg, true); Element elemResponse = docResponse.getDocumentElement(); Modified: ofbiz/trunk/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java (original) +++ ofbiz/trunk/specialpurpose/googlecheckout/src/org/ofbiz/googlecheckout/GoogleRequestServices.java Wed Mar 14 06:07:52 2012 @@ -504,7 +504,7 @@ public class GoogleRequestServices { String orderId = (String) context.get("orderId"); GenericValue order = findGoogleOrder(delegator, orderId); if (order != null) { - Debug.log("Returning FAILURE; this IS an Google Checkout order and cannot be modified as requested!", module); + Debug.logWarning("Returning FAILURE; this IS an Google Checkout order and cannot be modified as requested!", module); return ServiceUtil.returnFailure(UtilProperties.getMessage(resource, "GoogleCheckoutOrderCannotBeModified", locale)); } return ServiceUtil.returnSuccess(); Modified: ofbiz/trunk/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java (original) +++ ofbiz/trunk/specialpurpose/ldap/src/org/ofbiz/ldap/LdapLoginWorker.java Wed Mar 14 06:07:52 2012 @@ -221,7 +221,7 @@ public class LdapLoginWorker extends Log protected static Element getRootElement(HttpServletRequest request) { if (Debug.infoOn()) { - Debug.log("Applet config file: " + ldapConfig); + Debug.logInfo("Applet config file: " + ldapConfig, module); } File configFile = new File(ldapConfig); FileInputStream configFileIS = null; Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java (original) +++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java Wed Mar 14 06:07:52 2012 @@ -394,7 +394,7 @@ public class OagisInventoryServices { Map<String, Object> omiPkMap = UtilMisc.toMap("logicalId", (Object) logicalId, "component", component, "task", task, "referenceId", referenceId); // always log this to make messages easier to find - Debug.log("Processing oagisReceiveAcknowledgeDeliveryPo for message ID [" + omiPkMap + "]", module); + Debug.logInfo("Processing oagisReceiveAcknowledgeDeliveryPo for message ID [" + omiPkMap + "]", module); // before getting into this check to see if we've tried once and had an error, if so set isErrorRetry even if it wasn't passed in GenericValue previousOagisMessageInfo = null; @@ -694,7 +694,7 @@ public class OagisInventoryServices { Map<String, Object> omiPkMap = UtilMisc.toMap("logicalId", (Object) logicalId, "component", component, "task", task, "referenceId", referenceId); // always log this to make messages easier to find - Debug.log("Processing oagisReceiveAcknowledgeDeliveryRma for message ID [" + omiPkMap + "]", module); + Debug.logInfo("Processing oagisReceiveAcknowledgeDeliveryRma for message ID [" + omiPkMap + "]", module); // before getting into this check to see if we've tried once and had an error, if so set isErrorRetry even if it wasn't passed in GenericValue previousOagisMessageInfo = null; @@ -1205,7 +1205,7 @@ public class OagisInventoryServices { Map<String, Object> omiPkMap = UtilMisc.toMap("logicalId", (Object) logicalId, "component", component, "task", task, "referenceId", referenceId); // always log this to make messages easier to find - Debug.log("Processing oagisReceiveAcknowledgeDeliveryStatus for message ID [" + omiPkMap + "]", module); + Debug.logInfo("Processing oagisReceiveAcknowledgeDeliveryStatus for message ID [" + omiPkMap + "]", module); // before getting into this check to see if we've tried once and had an error, if so set isErrorRetry even if it wasn't passed in GenericValue previousOagisMessageInfo = null; Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java?rev=1300463&r1=1300462&r2=1300463&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java (original) +++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisShipmentServices.java Wed Mar 14 06:07:52 2012 @@ -132,7 +132,7 @@ public class OagisShipmentServices { Map<String, String> omiPkMap = UtilMisc.toMap("logicalId", logicalId, "component", component, "task", task, "referenceId", referenceId); // always log this to make messages easier to find - Debug.log("Processing oagisReceiveShowShipment for shipmentId [" + shipmentId + "] message ID [" + omiPkMap + "]", module); + Debug.logInfo("Processing oagisReceiveShowShipment for shipmentId [" + shipmentId + "] message ID [" + omiPkMap + "]", module); // before getting into this check to see if we've tried once and had an error, if so set isErrorRetry even if it wasn't passed in GenericValue previousOagisMessageInfo = null; |
Free forum by Nabble | Edit this page |