This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
IDE should write logs as XML stream/file. It could be switched either by startup option (something as -logxml) or by default. Or both logs (txt and xml) could be created under system folder. Structure of XML: top element: <logsession date=""> Startup build info could be either CDATA or regular XML tag e.g. <systeminfo version="" ideversion="" os="" jvm="" locale="" homedir="" .../> <classpath> <pathelement name=""> </classpath> </systeminfo> and so on. Installed modules: <module name="" version="" dependencies=""/> Exceptions could be written as: <exception name=""> ClassNotFoundException blabla at 123 </exception>
Not bad idea, but I would rather wait into JDK1.4 which will come with java.util.logging package. Then we rewrite the ErrorManager to use the package and will get XML logging for free. Please remind us when the JDK1.4 (at least beta) will be out
x
Reminder.
Ok, 1.4 is out and we could write a special ErrorManager to log using java.util.logging. Anybody wants to do it?
*** Issue 18580 has been marked as a duplicate of this issue. ***
Why logs in xml?
v/c