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 - Missing log warning when log exists already
Summary: Missing log warning when log exists already
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
: 225903 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-20 09:06 UTC by gualtiero65
Modified: 2013-07-06 02:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen dump (52.89 KB, image/png)
2012-02-20 09:08 UTC, gualtiero65
Details

Note You need to log in before you can comment on or make changes to this bug.
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