KNL-494 doesn't name the file with a problem
Description
Environment
None
Test Plan
None
is related to
Activity
Show:
Stephen Marquard August 30, 2010 at 6:07 AM
I tested this in a trunk build by changing sakai.membership.xml to a 0-byte file.
Resulting log output is:
2010-08-30 15:04:40,486 INFO main org.sakaiproject.util.ToolListener - registering tools from resource: /tools/sakai.membership.xml
[Fatal Error] :1:1: Premature end of file.
2010-08-30 15:04:40,510 WARN main org.sakaiproject.util.Xml - readDocumentFromStream: org.xml.sax.SAXParseException: Premature end of file.
2010-08-30 15:04:40,510 INFO main org.sakaiproject.tool.impl.ActiveToolComponent - register: invalid or empty tool registration document
I think this is probably sufficient to show where the error lies, as the SAX error and ActiveToolComponent message followup on immediately.
Found in 2.7.0 the bug solved with KNL-494 but wasn't able to know which file was wrong. Is this shown in 1.2.0 like the logs provided in KNL-494 show?
Maybe it should be available in the new log and this one should be more than info.