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 138386

Summary: Unwanted log message on console from org.xhtmlrenderer.util.XRLog
Product: web Reporter: Jesse Glick <jglick>
Component: CSS Visual ToolsAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2008-06-26 16:49:58 UTC
Visible e.g. running commit validation. Please ask the upstream library's authors to not print useless messages to
console (System.out in this case).

	[...]
	at java.io.PrintStream.println(PrintStream.java:739)
	at org.xhtmlrenderer.util.XRLog.init(XRLog.java:499)
	at org.xhtmlrenderer.util.XRLog.log(XRLog.java:423)
	at org.xhtmlrenderer.util.XRLog.render(XRLog.java:400)
	at org.xhtmlrenderer.util.XRLog.render(XRLog.java:390)
	at org.xhtmlrenderer.layout.SharedContext.<init>(SharedContext.java:106)
	at org.xhtmlrenderer.swing.BasicPanel.<init>(BasicPanel.java:80)
	at org.xhtmlrenderer.swing.BasicPanel.<init>(BasicPanel.java:76)
	at org.xhtmlrenderer.simple.XHTMLPanel.<init>(XHTMLPanel.java:109)
	at org.netbeans.modules.css.visual.ui.preview.CssPreviewPanel$1.<init>(CssPreviewPanel.java:68)
	at org.netbeans.modules.css.visual.ui.preview.CssPreviewPanel.<init>(CssPreviewPanel.java:65)
	at org.netbeans.modules.css.visual.ui.preview.CssPreviewTopComponent.<init>(CssPreviewTopComponent.java:88)
	at org.netbeans.modules.css.visual.ui.preview.CssPreviewTopComponent.getDefault(CssPreviewTopComponent.java:246)
	[...]
Comment 1 Quality Engineering 2008-06-27 16:25:17 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/c794dd384e2d
User: Jesse Glick <jglick@netbeans.org>
Log: Adding ability to track down the origin of weird messages printed to console.
Used to diagnose #138386 ("logging isn't enabled").