To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=101356 Issue #|101356 Summary|Generate a small log in case a document can not be sto |red. Component|framework Version|DEV300m45 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|ENHANCEMENT Priority|P3 Subcomponent|code Assigned to|mav Reported by|mav
------- Additional comments from [email protected] Mon Apr 27 06:36:43 +0000 2009 ------- There are some mysterious cases when a document can not be stored. The problem with those cases is that sometimes they are reproducible once pro year for a user. The document looks to get a state when it can not be store any more in ODF format. To improve the situation the following implementation is on the way: - there will be a com.sun.star.logging.DocumentIOLogRing service that is able to contain a limited number of messages - the logring will be filled with the messages from the most important framework parts of the storing source code including document error setting. The messages will allow to identify the related part by logged file name and line - the exceptions thrown from file content UCP, package and storage implementations will contain information regarding code part that throws the exception - the storage implementation will log all the exceptions that reach the caller in the logring - at the end of storing, if and only if the document could not be saved the information will be retrieved from the longring and stored in the log file in the user configuration The logring is not used in low-level components because the exceptions are thrown very often from there ( especially UCP ) and do not always mean erroneous situation. They would just overflow the logger. Currently I see now way how the solution could affect the performance in noticeable way. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
