Author: nmalin Date: Fri Oct 18 09:26:29 2019 New Revision: 1868581 URL: http://svn.apache.org/viewvc?rev=1868581&view=rev Log: Fixed: Down the log level to inform to use genericBasePermissionCheck
After the migration of genericBasePermissionCheck from mini-lang to groovy, I set a warning message to inform that we need to migrate simple-method call. But this simple-method is massively use on standard mini-lang script and finally populate with non interesting inform the log in production site. I down the level to inform only on development state Modified: ofbiz/ofbiz-framework/trunk/framework/common/minilang/permission/CommonPermissionServices.xml Modified: ofbiz/ofbiz-framework/trunk/framework/common/minilang/permission/CommonPermissionServices.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/minilang/permission/CommonPermissionServices.xml?rev=1868581&r1=1868580&r2=1868581&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/framework/common/minilang/permission/CommonPermissionServices.xml (original) +++ ofbiz/ofbiz-framework/trunk/framework/common/minilang/permission/CommonPermissionServices.xml Fri Oct 18 09:26:29 2019 @@ -56,7 +56,7 @@ under the License. <property-to-field resource="CommonUiLabels" property="CommonPermissionThisOperation" field="resourceDescription"/> </if-empty> - <log level="warning" message="This simple-method-call is deprecated! Please use a service-call of genericBasePermissionCheck instead."/> + <log level="info" message="This simple-method-call is deprecated! Please use a service-call of genericBasePermissionCheck instead."/> <set field="inParams.altPermission" from-field="altPermission"/> <set field="inParams.mainAction" from-field="parameters.mainAction"/> <set field="inParams.primaryPermission" from-field="primaryPermission"/>