[rfc][icedtea-web] Reprint of application logs to console

Jiri Vanek jvanek at redhat.com
Fri Mar 21 15:48:53 UTC 2014

If application is calling system.out/err.print(ln) for some kind of debugging, then it is *maybe* 
good to show it in our debug console. With its powerful features it may be usefull debugging tool 
for developers.

tbh, I'm not sure if this is wonted feature, but I somehow think it should be there. I also think 
previous console did it. So should new.  And ...  it really looks cool :)

The suspicious code is:

     private void copyRichActionPerformed(java.awt.event.ActionEvent evt) {
     private void copyPlainActionPerformed(java.awt.event.ActionEvent evt) {
+        if (canChange) {
+            showApp.setSelected(false);
+            refreshAction();
+            canChange = false;
+        }
          fillClipBoard(false, sortCopyAll.isSelected());

What I wont to do is, to have it shown b default, but not include it in first copy-all. Reason is, 
that copy all should be the most natural way to report bug. And in this the application logs should 
not occur. But maybe sometimes may be usefull, so not inclusion is done only once time.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: allCopiedStdOuts.patch
Type: text/x-patch
Size: 21900 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140321/409864d4/allCopiedStdOuts-0001.patch>

More information about the distro-pkg-dev mailing list