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 208628

Summary: Missing log warning when log exists already
Product: editor Reporter: gualtiero65
Component: Hints & AnnotationsAssignee: Roman Svitanic <rsvitanic>
Status: RESOLVED FIXED    
Severity: normal CC: gualtiero65
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Screen dump

Description gualtiero65 2012-02-20 09:06:25 UTC
Editor reports "No logger declared" warning even if a logger is already defined.

See pictures for details.

Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Linux version 2.6.32-220.4.1.el6.x86_64 running on amd64
Java; VM; Vendor = 1.7.0_03
Runtime = Java HotSpot(TM) 64-Bit Server VM 22.1-b02
Comment 1 gualtiero65 2012-02-20 09:08:40 UTC
Created attachment 115935 [details]
Screen dump
Comment 2 Jan Lahoda 2013-02-12 10:28:43 UTC
*** Bug 225903 has been marked as a duplicate of this bug. ***
Comment 3 Roman Svitanic 2013-07-04 09:27:42 UTC
fixed in jet-main:
http://hg.netbeans.org/jet-main/rev/0e8774be1691

Now this hint have customizer where custom loggers can be specified. When these loggers are specified and found in source, hint will not display the warning. Loggers must be specified in a form of fully qualified name of Logger class (e.g. com.example.MyLogger).
Comment 4 Quality Engineering 2013-07-06 02:03:14 UTC
Integrated into 'main-silver', will be available in build *201307052300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0e8774be1691
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #208628 - Missing log warning when log exists already