Description of problem: Frysk - if user data is defined in $HOME/.frysk - debug messages are displayed when GUI is started Version-Release number of selected component (if applicable): RHEL5-Server-20060806.1 How reproducible: 100% Steps to Reproduce: 1. Run the Frysk GUI, create a session, save it, exit Frysk 2. Re-enter Frysk GUI Actual results: [root@rocco frysk]# frysk Found subnode: /theManager Found subnode: /theManager/logWindow Found subnode: /theManager/mainWindow Key: size.width Value: 640 Key: size.height Value: 480 Key: position.y Value: 272 Key: position.x Value: 320 Found subnode: /theManager/mainWindow/allProcWidget Key: vPane.position Value: 200 Expected results: Debug messages should not be displayed Additional info:
Those are not debug messages, but rather output from java.utils.prefs.Preferences when a preference file is read and parsed. There appears to be no way to turn these off (they are not output by Frysk), when I looked at the issue before.
Something to do with a logger? Long term, frysk should use gconf to pick up its configuration information making it compatible with the rest of gnome.
#2 Nothing to do with the logger. It just console spam that comes from running preferences. I''ll ask the classpath people to see if we can block it short term somehow. And fully agreed on migration to gconf. (the gnome way of doing preferences over the java way of doing preferences)
Bug in classpath/libgcj. It had some System.out.println() debug statements left in the source of NodeReader: diff -u -r1.5 NodeReader.java --- gnu/java/util/prefs/NodeReader.java 2 Jul 2005 20:32:15 -0000 1.5 +++ gnu/java/util/prefs/NodeReader.java 18 Aug 2006 15:41:53 -0000 @@ -124,7 +124,6 @@ skipTill("name=\""); String name = readTill("\""); Preferences subnode = node.node(name); - System.out.println("Found subnode: " + subnode.absolutePath()); readMap(subnode); readNodes(subnode); skipTill("</node>"); @@ -160,7 +159,6 @@ String key = readTill("\""); skipTill("value=\""); String value = readTill("\""); - System.out.println("Key: " + key + " Value: " + value); node.put(key, value); } } BTW. Since 0.92 the default util.pref backend for classpath is based on GConf2.
Patch in comment #4 has been included in the libgcj in fc6/rawhide.