Author: nmalin
Date: Sat Jan 28 14:28:00 2017 New Revision: 1780700 URL: http://svn.apache.org/viewvc?rev=1780700&view=rev Log: Fixed: Changed log level always to info in minilang (OFBIZ-6206) Backport from trunk Because the log level always is display as FATAL on log, this raise useless log and generate many noise for production site. Generally these logs are present for debugging historical reason Modified: ofbiz/branches/release16.11/applications/content/minilang/blog/BlogServices.xml ofbiz/branches/release16.11/applications/content/minilang/content/ContentEvents.xml ofbiz/branches/release16.11/applications/content/minilang/content/ContentPermissionEvents.xml ofbiz/branches/release16.11/applications/content/minilang/content/ContentServices.xml ofbiz/branches/release16.11/applications/content/minilang/data/DataServices.xml ofbiz/branches/release16.11/applications/content/minilang/layout/LayoutEvents.xml ofbiz/branches/release16.11/applications/content/minilang/website/WebSiteServices.xml ofbiz/branches/release16.11/applications/party/minilang/communication/CommunicationEventEvents.xml ofbiz/branches/release16.11/applications/party/minilang/party/PartyServices.xml ofbiz/branches/release16.11/applications/product/minilang/product/cost/CostServices.xml ofbiz/branches/release16.11/applications/product/minilang/product/inventory/InventoryServices.xml ofbiz/branches/release16.11/applications/workeffort/minilang/permission/WorkEffortPermissionServices.xml ofbiz/branches/release16.11/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml ofbiz/branches/release16.11/framework/common/minilang/PortalPageMethods.xml Modified: ofbiz/branches/release16.11/applications/content/minilang/blog/BlogServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/blog/BlogServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/blog/BlogServices.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/blog/BlogServices.xml Sat Jan 28 14:28:00 2017 @@ -54,7 +54,6 @@ <!-- reset contentIdFrom to new contentId --> <set field="contentAssocTypeId" value="SUB_CONTENT"/> <set field="contentIdFrom" from-field="contentId"/> - <if-not-empty field="parameters._uploadedFile_fileName"> <!-- upload a picture --> @@ -92,7 +91,7 @@ <set field="createText.contentIdFrom" from-field="contentIdFrom"/> <set field="createText.partyId" from-field="userLogin.partyId"/> <set field="createText.mapKey" value="ARTICLE"/> - <log level="always" message="calling createTextContent with map: ${createText}"/> + <log level="info" message="calling createTextContent with map: ${createText}"/> <call-service service-name="createTextContent" in-map-name="createText"> <result-to-field result-name="contentId" field="textContentId"/> </call-service> Modified: ofbiz/branches/release16.11/applications/content/minilang/content/ContentEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/content/ContentEvents.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/content/ContentEvents.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/content/ContentEvents.xml Sat Jan 28 14:28:00 2017 @@ -21,8 +21,7 @@ under the License. <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method method-name="createContentAndPurpose" short-description="Create Content And Purpose" login-required="false"> - <log level="always" message="in createContentAndPurpose."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in createContentAndPurpose."/> <make-value entity-name="Content" value-field="currentContent"/> <set-pk-fields map="parameters" value-field="currentContent"/> @@ -43,8 +42,7 @@ under the License. </call-map-processor> <map-to-map map="currentContent" to-map="context"/> - <log level="always" message="currentContent: ${currentContent}"/> - <log level="always" message="context: ${context}"/> + <log level="info" message="currentContent: ${currentContent}"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> @@ -68,25 +66,25 @@ under the License. </if-not-empty> <make-value entity-name="Content" value-field="contentPK"/> <set field="contentPK.contentId" from-field="contentId"/> - <log level="always" message="contentPK: ${contentPK}"/> + <log level="info" message="contentPK: ${contentPK}"/> <set field="currentEntityMap.Content" from-field="contentPK"/> - <log level="always" message="currentEntityMap: ${currentEntityMap}"/> + <log level="info" message="currentEntityMap: ${currentEntityMap}"/> <field-to-session session-name="currentEntityMap" field="currentEntityMap"/> <if-not-empty field="parameters.contentPurposeTypeId"> - <log level="always" message="contentPurposeTypeId: ${parameters.contentPurposeTypeId}"/> + <log level="info" message="contentPurposeTypeId: ${parameters.contentPurposeTypeId}"/> <make-value entity-name="ContentPurpose" value-field="newContentPurpose"/> <set field="newContentPurpose.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> - <log level="always" message="contentId: ${contentId}"/> + <log level="info" message="contentId: ${contentId}"/> <set field="newContentPurpose.contentId" from-field="contentId"/> <create-value value-field="newContentPurpose"/> - <log level="always" message="newContentPurpose: ${newContentPurpose}"/> + <log level="info" message="newContentPurpose: ${newContentPurpose}"/> </if-not-empty> </simple-method> <simple-method method-name="updateContent" short-description="Update Content" login-required="false"> - <log level="always" message="/nin updateContent."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="/nin updateContent."/> + <log level="info" message="parameters: ${parameters}"/> <make-value entity-name="Content" value-field="currentContent"/> <set-pk-fields map="parameters" value-field="currentContent"/> @@ -105,7 +103,7 @@ under the License. </process> </simple-map-processor> </call-map-processor> - <log level="always" message="datesConverted: ${datesConverted}"/> + <log level="info" message="datesConverted: ${datesConverted}"/> <map-to-map map="currentContent" to-map="context"/> <get-related value-field="currentContent" relation-name="ContentPurpose" list="contentPurposeList"/> <set field="context.contentPurposeList" from-field="contentPurposeList"/> @@ -119,8 +117,8 @@ under the License. </simple-method> <simple-method method-name="addContentAssoc" short-description="Add Content Assoc" login-required="true" > - <log level="always" message="in addContentAssoc."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in addContentAssoc."/> + <log level="info" message="parameters: ${parameters}"/> <!-- link article to publish point --> <set field="context3.contentIdTo" from-field="parameters.contentIdTo"/> Modified: ofbiz/branches/release16.11/applications/content/minilang/content/ContentPermissionEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/content/ContentPermissionEvents.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/content/ContentPermissionEvents.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/content/ContentPermissionEvents.xml Sat Jan 28 14:28:00 2017 @@ -29,7 +29,7 @@ under the License. <set field="currentContent.contentId" from-field="id"/> </if-empty> - <log level="always" message="currentContent: ${currentContent}"/> + <log level="info" message="currentContent: ${currentContent}"/> <field-to-list field="parameters.contentPurposeTypeId" list="contentPurposeList"/> <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> @@ -43,7 +43,7 @@ under the License. <result-to-field result-name="permissionStatus" field="permissionStatus"/> </call-service> - <log level="always" message="permissionStatus:${permissionStatus}"/> + <log level="info" message="permissionStatus:${permissionStatus}"/> <if-compare field="permissionStatus" operator="not-equals" type="String" value="granted"> <add-error> Modified: ofbiz/branches/release16.11/applications/content/minilang/content/ContentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/content/ContentServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/content/ContentServices.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/content/ContentServices.xml Sat Jan 28 14:28:00 2017 @@ -203,13 +203,13 @@ <!-- Methods for ContentAssoc --> <simple-method login-required="true" method-name="assocContent" short-description="Associate Content" > - <log level="always" message="assocContent, parameters:${parameters}"/> - <log level="always" message="assocContent, context:${context}"/> + <log level="info" message="assocContent, parameters:${parameters}"/> + <log level="info" message="assocContent, context:${context}"/> <call-service in-map-name="parameters" service-name="checkAssocPermission"> <result-to-field result-name="permissionStatus" field="permissionStatus"/> <result-to-field result-name="rolesOut" field="rolesOut"/> </call-service> - <log level="always" message="permissionStatus:${permissionStatus}"/> + <log level="info" message="permissionStatus:${permissionStatus}"/> <set from-field="parameters.contentIdTo" field="pk.contentId"/> @@ -269,10 +269,10 @@ <result-to-field result-name="contentId" field="parameters.parentContentId"/> </call-service> - <log level="always" message="${parameters}"/> + <log level="info" message="${parameters}"/> <if-not-empty field="parameters.uploadedFile"> - <log level="always" message="Uploaded file found; processing sub-content"/> + <log level="info" message="Uploaded file found; processing sub-content"/> <set-service-fields service-name="createContentFromUploadedFile" map="parameters" to-map="uploadContext"/> <set field="uploadContext.ownerContentId" from-field="parameters.parentContentId"/> <set field="uploadContext.contentIdFrom" from-field="parameters.parentContentId"/> @@ -806,7 +806,7 @@ <set field="createText.contentIdFrom" from-field="contentIdFrom"/> <set field="createText.partyId" from-field="userLogin.partyId"/> - <log level="always" message="calling createTextContent with map: ${createText}"/> + <log level="info" message="calling createTextContent with map: ${createText}"/> <call-service service-name="createTextContent" in-map-name="createText"> <result-to-field result-name="contentId" field="textContentId"/> </call-service> Modified: ofbiz/branches/release16.11/applications/content/minilang/data/DataServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/data/DataServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/data/DataServices.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/data/DataServices.xml Sat Jan 28 14:28:00 2017 @@ -102,7 +102,7 @@ under the License. <simple-method method-name="getElectronicText" short-description="Get Electronic Text" login-required="false"> <set field="userLogin" from-field="parameters.userLogin"/> <set field="currentContent" from-field="parameters.content"/> - <log level="always" message="GETELECTRONICTEXT, currentContent:${currentContent}"/> + <log level="info" message="GETELECTRONICTEXT, currentContent:${currentContent}"/> <if-empty field="currentContent"> <if-not-empty field="parameters.contentId"> @@ -132,10 +132,7 @@ under the License. </if-empty> <check-errors/> - <field-to-result field="eText.textData" result-name="textData"/> - <log level="always" message="result:${result}"/> - <log level="always" message="parameters:${parameters}"/> </simple-method> <simple-method method-name="attachUploadToDataResource" short-description="Attach an uploaded file to a data resource"> Modified: ofbiz/branches/release16.11/applications/content/minilang/layout/LayoutEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/layout/LayoutEvents.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/layout/LayoutEvents.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/layout/LayoutEvents.xml Sat Jan 28 14:28:00 2017 @@ -22,14 +22,12 @@ under the License. xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method login-required="true" method-name="createLayout" short-description="Create Layout"> - <log level="always" message="in createLayout."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in createLayout."/> <make-value entity-name="Content" value-field="currentContent"/> <set-pk-fields map="parameters" value-field="currentContent"/> <set-nonpk-fields map="parameters" value-field="currentContent"/> <map-to-map map="currentContent" to-map="context"/> - <log level="always" message="context: ${context}"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <string-to-list list="targetOperationList" string="CONTENT_CREATE"/> <set field="context.targetOperationList" from-field="targetOperationList"/> @@ -52,8 +50,7 @@ under the License. </simple-method> <simple-method login-required="true" method-name="updateLayout" short-description="Update Layout"> - <log level="always" message="in updateLayout."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in updateLayout."/> <make-value entity-name="Content" value-field="currentContent"/> <set-pk-fields map="parameters" value-field="currentContent"/> @@ -75,22 +72,21 @@ under the License. <set field="content.contentId" from-field="parameters.contentId"/> <find-by-primary-key entity-name="Content" value-field="content" map="content"/> <set-nonpk-fields map="parameters" value-field="content"/> - <log level="always" message="content: ${content}"/> + <log level="info" message="content: ${content}"/> <store-value value-field="content"/> <field-to-request field="content.contentId" request-name="contentId"/> <set field="dataResource.dataResourceId" from-field="parameters.dataResourceId"/> <find-by-primary-key entity-name="DataResource" value-field="dataResource" map="dataResource"/> <set-nonpk-fields map="parameters" value-field="dataResource"/> <set field="dataResource.objectInfo" from-field="parameters.drObjectInfo"/> - <log level="always" message="dataResource: ${dataResource}"/> + <log level="info" message="dataResource: ${dataResource}"/> <store-value value-field="dataResource"/> <field-to-request field="dataResource.dataResourceId" request-name="drDataResourceId"/> <check-errors/> </simple-method> <simple-method login-required="true" method-name="createLayoutText" short-description="Create Layout Text"> - <log level="always" message="in createLayoutText."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in createLayoutText."/> <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentIn" in-map-name="parameters" out-map-name="context"/> @@ -99,7 +95,6 @@ under the License. <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentAssocIn" in-map-name="parameters" out-map-name="context"/> - <log level="always" message="context: ${context}"/> <set field="context.dataResourceName" from-field="context.contentName"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <set field="context.contentIdTo" from-field="parameters.contentIdTo"/> @@ -137,9 +132,9 @@ under the License. <make-value entity-name="SubContentDataResourceView" value-field="subContent"/> <field-to-field field-name="contentId" to-map-name="subContent" to-field-name="contentId"/> <field-to-field field-name="dataResourceId" to-map-name="subContent" to-field-name="drDataResourceId"/> - <log level="always" message="subContent: ${subContent}"/> - <log level="always" message="contentId: ${contentId}"/> - <log level="always" message="dataResourceId: ${dataResourceId}"/> + <log level="info" message="subContent: ${subContent}"/> + <log level="info" message="contentId: ${contentId}"/> + <log level="info" message="dataResourceId: ${dataResourceId}"/> <call-class-method class-name="org.apache.ofbiz.content.ContentManagementWorker" method-name="mruAdd"> <field field="request" type="javax.servlet.http.HttpServletRequest"/> <field field="subContent" type="org.apache.ofbiz.entity.GenericEntity"/> @@ -148,8 +143,7 @@ under the License. </simple-method> <simple-method login-required="true" method-name="updateLayoutText" short-description="Update Layout Text"> - <log level="always" message="in updateLayoutText."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in updateLayoutText."/> <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentIn" in-map-name="parameters" out-map-name="context"/> @@ -158,7 +152,6 @@ under the License. <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentAssocIn" in-map-name="parameters" out-map-name="context"/> - <log level="always" message="context: ${context}"/> <set field="context.dataResourceName" from-field="context.contentName"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <set field="context.contentIdTo" from-field="parameters.contentIdTo"/> @@ -173,7 +166,7 @@ under the License. </simple-method> <simple-method login-required="true" method-name="createLayoutImage" short-description="Create Layout Image"> - <log level="always" message="in createLayoutImage."/> + <log level="info" message="in createLayoutImage."/> <call-class-method class-name="org.apache.ofbiz.content.layout.LayoutWorker" method-name="uploadImageAndParameters" ret-field="formInput"> <field field="request" type="javax.servlet.http.HttpServletRequest"/> @@ -186,8 +179,8 @@ under the License. <clear-field field="formInput.imageData"/> - <log level="always" message="formInput: ${formInput}"/> - <log level="always" message="byteWrap: ${byteWrap}"/> + <log level="info" message="formInput: ${formInput}"/> + <log level="info" message="byteWrap: ${byteWrap}"/> <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentIn" in-map-name="formInput" out-map-name="context"/> @@ -196,7 +189,6 @@ under the License. <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentAssocIn" in-map-name="formInput" out-map-name="context"/> - <log level="always" message="context: ${context}"/> <set field="context.dataResourceName" from-field="context.contentName"/> <set field="context.contentPurposeTypeId" from-field="formInput.contentPurposeTypeId"/> <set field="context.contentIdTo" from-field="formInput.contentIdTo"/> @@ -233,9 +225,9 @@ under the License. <make-value entity-name="SubContentDataResourceView" value-field="subContent"/> <field-to-field field-name="contentId" to-map-name="subContent" to-field-name="contentId"/> <field-to-field field-name="dataResourceId" to-map-name="subContent" to-field-name="drDataResourceId"/> - <log level="always" message="subContent: ${subContent}"/> - <log level="always" message="contentId: ${contentId}"/> - <log level="always" message="dataResourceId: ${dataResourceId}"/> + <log level="info" message="subContent: ${subContent}"/> + <log level="info" message="contentId: ${contentId}"/> + <log level="info" message="dataResourceId: ${dataResourceId}"/> <call-class-method class-name="org.apache.ofbiz.content.ContentManagementWorker" method-name="mruAdd"> <field field="request" type="javax.servlet.http.HttpServletRequest"/> <field field="subContent" type="org.apache.ofbiz.entity.GenericEntity"/> @@ -244,8 +236,7 @@ under the License. </simple-method> <simple-method login-required="true" method-name="createLayoutUrl" short-description="Create Layout URL"> - <log level="always" message="in createLayoutUrl"/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in createLayoutUrl"/> <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentIn" in-map-name="parameters" out-map-name="context"/> @@ -254,7 +245,6 @@ under the License. <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentAssocIn" in-map-name="parameters" out-map-name="context"/> - <log level="always" message="context: ${context}"/> <set field="context.dataResourceName" from-field="context.contentName"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <set field="context.contentIdTo" from-field="parameters.contentIdTo"/> @@ -291,9 +281,9 @@ under the License. <make-value entity-name="SubContentDataResourceView" value-field="subContent"/> <field-to-field field-name="contentId" to-map-name="subContent" to-field-name="contentId"/> <field-to-field field-name="dataResourceId" to-map-name="subContent" to-field-name="drDataResourceId"/> - <log level="always" message="subContent: ${subContent}"/> - <log level="always" message="contentId: ${contentId}"/> - <log level="always" message="dataResourceId: ${dataResourceId}"/> + <log level="info" message="subContent: ${subContent}"/> + <log level="info" message="contentId: ${contentId}"/> + <log level="info" message="dataResourceId: ${dataResourceId}"/> <call-class-method class-name="org.apache.ofbiz.content.ContentManagementWorker" method-name="mruAdd"> <field field="request" type="javax.servlet.http.HttpServletRequest"/> <field field="subContent" type="org.apache.ofbiz.entity.GenericEntity"/> @@ -302,8 +292,7 @@ under the License. </simple-method> <simple-method method-name="updateLayoutUrl" short-description="Update Layout URL" login-required="true"> - <log level="always" message="in updateLayoutUrl."/> - <log level="always" message="parameters: ${parameters}"/> + <log level="info" message="in updateLayoutUrl."/> <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentIn" in-map-name="parameters" out-map-name="context"/> @@ -312,7 +301,6 @@ under the License. <call-map-processor xml-resource="component://content/minilang/ContentManagementMapProcessors.xml" processor-name="contentAssocIn" in-map-name="parameters" out-map-name="context"/> - <log level="always" message="context: ${context}"/> <set field="context.dataResourceName" from-field="context.contentName"/> <set field="context.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <set field="context.contentIdTo" from-field="parameters.contentIdTo"/> Modified: ofbiz/branches/release16.11/applications/content/minilang/website/WebSiteServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/content/minilang/website/WebSiteServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/content/minilang/website/WebSiteServices.xml (original) +++ ofbiz/branches/release16.11/applications/content/minilang/website/WebSiteServices.xml Sat Jan 28 14:28:00 2017 @@ -36,7 +36,6 @@ under the License. <field-map field-name="webSiteId" from-field="parameters.webSiteId"/> </entity-one> <now-timestamp field="now"/> - <log level="always" message="Parameters: ${parameters}"/> <if-instance-of field="parameters.webSiteContentTypeId" class="String"> <!-- just one checked --> Modified: ofbiz/branches/release16.11/applications/party/minilang/communication/CommunicationEventEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/party/minilang/communication/CommunicationEventEvents.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/party/minilang/communication/CommunicationEventEvents.xml (original) +++ ofbiz/branches/release16.11/applications/party/minilang/communication/CommunicationEventEvents.xml Sat Jan 28 14:28:00 2017 @@ -77,7 +77,7 @@ under the License. <call-service service-name="createContentFromDataResource" in-map-name="contentMap"> <result-to-field result-name="contentId" field="parameters.contentId"/> </call-service> - <log level="always" message=" Content : ${parameters.contentId}"/> + <log level="info" message=" Content : ${parameters.contentId}"/> </if-empty> <!-- Create party content --> <set-service-fields service-name="createPartyContent" map="formInput.formInput" Modified: ofbiz/branches/release16.11/applications/party/minilang/party/PartyServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/party/minilang/party/PartyServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/party/minilang/party/PartyServices.xml (original) +++ ofbiz/branches/release16.11/applications/party/minilang/party/PartyServices.xml Sat Jan 28 14:28:00 2017 @@ -241,7 +241,7 @@ under the License. <field field="delegator" type="org.apache.ofbiz.entity.Delegator"/> <field field="absolute" type="boolean"/> </call-class-method> - <log level="always" message="[createPartyContent] - Found Subdir : ${uploadPath}"/> + <log level="info" message="[createPartyContent] - Found Subdir : ${uploadPath}"/> <!-- locate the file extension to use based on mime-type --> <set from-field="parameters._uploadedFile_contentType" field="extenLookup.mimeTypeId"/> <find-by-and entity-name="FileExtension" map="extenLookup" list="extensions"/> @@ -335,7 +335,7 @@ under the License. <field field="delegator" type="org.apache.ofbiz.entity.Delegator"/> <field field="absolute" type="boolean"/> </call-class-method> - <log level="always" message="[createPartyContent] - Found Subdir : ${uploadPath}"/> + <log level="info" message="[createPartyContent] - Found Subdir : ${uploadPath}"/> <!-- locate the file extension to use based on mime-type --> <set from-field="parameters._uploadedFile_contentType" field="extenLookup.mimeTypeId"/> <find-by-and entity-name="FileExtension" map="extenLookup" list="extensions"/> Modified: ofbiz/branches/release16.11/applications/product/minilang/product/cost/CostServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/product/minilang/product/cost/CostServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/product/minilang/product/cost/CostServices.xml (original) +++ ofbiz/branches/release16.11/applications/product/minilang/product/cost/CostServices.xml Sat Jan 28 14:28:00 2017 @@ -573,7 +573,7 @@ under the License. </else> </if-empty> - <!-- <log level="always" message="In updateProductAverageCostOnReceiveInventory creating new average cost with productAverageCostMap: ${productAverageCostMap}"/> --> + <!-- <log level="info" message="In updateProductAverageCostOnReceiveInventory creating new average cost with productAverageCostMap: ${productAverageCostMap}"/> --> <call-service service-name="createProductAverageCost" in-map-name="productAverageCostMap"/> <log level="info" message="For facilityId ${parameters.facilityId}, Average cost of product ${parameters.productId} is set from ${updateProductAverageCostMap.averageCost} to ${productAverageCostMap.averageCost}"/> </simple-method> Modified: ofbiz/branches/release16.11/applications/product/minilang/product/inventory/InventoryServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/product/minilang/product/inventory/InventoryServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/product/minilang/product/inventory/InventoryServices.xml (original) +++ ofbiz/branches/release16.11/applications/product/minilang/product/inventory/InventoryServices.xml Sat Jan 28 14:28:00 2017 @@ -407,7 +407,7 @@ under the License. <then> <set field="inventoryItem.availableToPromiseTotal" value="1" type="BigDecimal"/> <set field="inventoryItem.quantityOnHandTotal" value="1" type="BigDecimal"/> - <log level="always" message="In updateSerializedInventoryTotals Storing totals for item [${inventoryItem.inventoryItemId}] INV_AVAIABLE [1/1]"/> + <log level="info" message="In updateSerializedInventoryTotals Storing totals for item [${inventoryItem.inventoryItemId}] INV_AVAIABLE [1/1]"/> <store-value value-field="inventoryItem"/> </then> @@ -425,7 +425,7 @@ under the License. <then> <set field="inventoryItem.availableToPromiseTotal" value="0" type="BigDecimal"/> <set field="inventoryItem.quantityOnHandTotal" value="0" type="BigDecimal"/> - <log level="always" message="In updateSerializedInventoryTotals Storing totals [${inventoryItem.inventoryItemId}] for INV_DELIVERED [0/0]"/> + <log level="info" message="In updateSerializedInventoryTotals Storing totals [${inventoryItem.inventoryItemId}] for INV_DELIVERED [0/0]"/> <store-value value-field="inventoryItem"/> </then> </else-if> @@ -445,7 +445,7 @@ under the License. <then> <set field="inventoryItem.availableToPromiseTotal" value="0" type="BigDecimal"/> <set field="inventoryItem.quantityOnHandTotal" value="1" type="BigDecimal"/> - <log level="always" message="In updateSerializedInventoryTotals Storing totals [${inventoryItem.inventoryItemId}] for other status [0/1]"/> + <log level="info" message="In updateSerializedInventoryTotals Storing totals [${inventoryItem.inventoryItemId}] for other status [0/1]"/> <store-value value-field="inventoryItem"/> </then> </else-if> Modified: ofbiz/branches/release16.11/applications/workeffort/minilang/permission/WorkEffortPermissionServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/workeffort/minilang/permission/WorkEffortPermissionServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/workeffort/minilang/permission/WorkEffortPermissionServices.xml (original) +++ ofbiz/branches/release16.11/applications/workeffort/minilang/permission/WorkEffortPermissionServices.xml Sat Jan 28 14:28:00 2017 @@ -136,11 +136,11 @@ under the License. <set from-field="workEffortId" field="lookupRoleWorkEffortMap.workEffortId"/> <set from-field="userLogin.partyId" field="lookupRoleWorkEffortMap.partyId"/> <set value="CAL_OWNER" field="lookupRoleWorkEffortMap.roleTypeId"/> - <log level="always" message="Running find-by-and: ${lookupRoleWorkEffortMap}"/> + <log level="info" message="Running find-by-and: ${lookupRoleWorkEffortMap}"/> <find-by-and entity-name="WorkEffortPartyAssignment" map="lookupRoleWorkEffortMap" list="roleParties"/> <filter-list-by-date list="roleParties"/> - <log level="always" message="Found role parties: ${roleParties}"/> + <log level="info" message="Found role parties: ${roleParties}"/> <if-empty field="roleParties"> <log level="info" message="Party ${userLogin.partyId} is not in ${roleTypeId} role with workEffort: ${workEffortId}"/> @@ -258,7 +258,7 @@ under the License. <find-by-and entity-name="WorkEffortPartyAssignView" map="lookupPartyRoleWorkEffortMap" list="rolePartyGroups"/> <filter-list-by-date list="rolePartyGroups"/> - <log level="always" message="Found role parties Group: ${rolePartyGroups}"/> + <log level="info" message="Found role parties Group: ${rolePartyGroups}"/> <if-empty field="rolePartyGroups"> <log level="info" message="No Party Group found in CAL_OWNER role with workEffort: ${workEffortId}"/> @@ -274,9 +274,9 @@ under the License. <set from-field="rolePartyGroup.partyId" field="lookupPartyRoleMap.partyIdFrom"/> <!-- logged party partyId--> <set from-field="userLogin.partyId" field="lookupPartyRoleMap.partyIdTo"/> - <log level="always" message="Conditions: ${lookupPartyRoleMap}"/> + <log level="info" message="Conditions: ${lookupPartyRoleMap}"/> <find-by-and entity-name="PartyRelationship" map="lookupPartyRoleMap" list="partyGroupRelationships"/> - <log level="always" message="Found role parties relations: ${partyGroupRelationships}"/> + <log level="info" message="Found role parties relations: ${partyGroupRelationships}"/> <if-not-empty field="partyGroupRelationships"> <set field="hasPermission" type="Boolean" value="true"/> <field-to-result field="hasPermission"/> Modified: ofbiz/branches/release16.11/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml (original) +++ ofbiz/branches/release16.11/applications/workeffort/minilang/workeffort/WorkEffortSimpleServices.xml Sat Jan 28 14:28:00 2017 @@ -771,9 +771,9 @@ under the License. <if-not-empty field="custRequestItem"> <set field="custRequestItemExists" value="true"/> <field-to-result field="custRequestItemExists"/> - <log level="always" message="custRequestItemExists: ${custRequestItemExists}"/> + <log level="info" message="custRequestItemExists: ${custRequestItemExists}"/> <else> - <log level="always" message="custRequestItemExists: empty"/> + <log level="info" message="custRequestItemExists: empty"/> </else> </if-not-empty> </simple-method> Modified: ofbiz/branches/release16.11/framework/common/minilang/PortalPageMethods.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/framework/common/minilang/PortalPageMethods.xml?rev=1780700&r1=1780699&r2=1780700&view=diff ============================================================================== --- ofbiz/branches/release16.11/framework/common/minilang/PortalPageMethods.xml (original) +++ ofbiz/branches/release16.11/framework/common/minilang/PortalPageMethods.xml Sat Jan 28 14:28:00 2017 @@ -33,7 +33,7 @@ under the License. </and> </condition> <then> - <log level="always" message="===2==processing: ${attributeKey}"></log> + <log level="info" message="===2==processing: ${attributeKey}"></log> <clear-field field="attributeEntityMap"/> <set-service-fields service-name="createPortletAttribute" map="parameters" to-map="attributeEntityMap"/> <set field="attributeEntityMap.attrName" from-field="attributeKey"/> |
Free forum by Nabble | Edit this page |