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.

Bug 9444 - [JDK1.4] XML IDE logging
Summary: [JDK1.4] XML IDE logging
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 enhancement (vote)
Assignee: issues@platform
URL:
Keywords: JDK_SPECIFIC
: 18580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-02-06 16:02 UTC by Milan Kubec
Modified: 2011-06-09 09:51 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2001-02-06 16:02:01 UTC
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>
Comment 1 Jaroslav Tulach 2001-02-08 10:26:59 UTC
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
Comment 2 Jesse Glick 2002-02-14 19:51:17 UTC
x
Comment 3 Jesse Glick 2002-02-14 19:52:56 UTC
Reminder.
Comment 4 Jaroslav Tulach 2002-02-18 08:40:07 UTC
Ok, 1.4 is out and we could write a special ErrorManager to log using
java.util.logging. Anybody wants to do it?

Comment 5 Marian Mirilovic 2002-12-05 09:29:29 UTC
*** Issue 18580 has been marked as a duplicate of this issue. ***
Comment 6 Jaroslav Tulach 2005-03-11 22:37:42 UTC
Why logs in xml? 
Comment 7 Marian Mirilovic 2011-06-09 09:51:04 UTC
v/c