[ https://issues.apache.org/jira/browse/OFBIZ-5107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536440#comment-13536440 ]
Carsten Schinzer commented on OFBIZ-5107: ----------------------------------------- Hmm. Maybe a shortcoming on my side: I thought I did add the two lines that are in the patch. And if I had done soe, they would state wrong log level values ('debug'). Apparently, you are right and these two lines are not in the current revision, so you might ignore this or read this ticket as: "If you feel these two log statements are helpful when in a 'verbose' log mode, please add this patch to trunk". Regards Carsten > XML Validation error on CustomerServices.xml > -------------------------------------------- > > Key: OFBIZ-5107 > URL: https://issues.apache.org/jira/browse/OFBIZ-5107 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: SVN trunk > Environment: irrelevant, minilang service > Reporter: Carsten Schinzer > Priority: Trivial > Fix For: SVN trunk > > Attachments: > OFBIZ-5107_XML_Validation_error_on_CustomerServices.xml.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > Error message in the error.log is as follows: > 2012-12-19 08:38:09,223 (http-bio-0.0.0.0-8080-exec-145) [ > UtilXml.java:1062:ERROR] XmlFileLoader: File > file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml > process error. Line: 813. Error message: cvc-enumeration-valid: Value > 'debug' is not facet-valid with respect to enumeration '[info, verbose, > timing, important, warning, error, fatal, always]'. It must be a value from > the enumeration. > 2012-12-19 08:38:09,224 (http-bio-0.0.0.0-8080-exec-145) [ > UtilXml.java:1062:ERROR] XmlFileLoader: File > file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml > process error. Line: 813. Error message: cvc-attribute.3: The value 'debug' > of attribute 'level' on element 'log' is not valid with respect to its type, > 'null'. > 2012-12-19 08:38:09,226 (http-bio-0.0.0.0-8080-exec-145) [ > UtilXml.java:1062:ERROR] XmlFileLoader: File > file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml > process error. Line: 823. Error message: cvc-enumeration-valid: Value > 'debug' is not facet-valid with respect to enumeration '[info, verbose, > timing, important, warning, error, fatal, always]'. It must be a value from > the enumeration. > 2012-12-19 08:38:09,227 (http-bio-0.0.0.0-8080-exec-145) [ > UtilXml.java:1062:ERROR] XmlFileLoader: File > file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml > process error. Line: 823. Error message: cvc-attribute.3: The value 'debug' > of attribute 'level' on element 'log' is not valid with respect to its type, > 'null'. > This was introduced with the patch for OFBIZ-5102 where I was adding these > two log lines. The loging works yet fine, however it is preferrable to avoid > such silly items filling our error logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira