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 232956 - Excessive logging from from [org.glassfish.tools.ide.server.state.AdminPortTask]
Summary: Excessive logging from from [org.glassfish.tools.ide.server.state.AdminPortTask]
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-18 08:15 UTC by Jiri Skrivanek
Modified: 2013-07-26 08:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-07-18 08:15:53 UTC
When GlassFish server is started and then stopped every 5 seconds appears the following message in IDE log:

INFO [org.glassfish.tools.ide.server.state.AdminPortTask]: Port check could not
connect to localhost:4848: Connection refused: connect

It is unnecessary, it hides other important messages in log and increases size of log file remarkably.
Comment 1 TomasKraus 2013-07-19 22:48:08 UTC
I already have fix in my environment. Message log level was changed to FINEST.
Comment 2 Martin Fousek 2013-07-22 07:20:38 UTC
(In reply to comment #1)
> I already have fix in my environment. Message log level was changed to FINEST.

This decreases the readability of the logs. Please integrate the change into the trunk. Thanks in advance.
Comment 3 TomasKraus 2013-07-22 12:35:39 UTC
Will push those changes today, closing bug.
Comment 4 Jiri Skrivanek 2013-07-24 07:31:09 UTC
Now there is the following message instead of previous one:

INFO [glassfish]: Exception was thrown in server status check.

Also please, next time paste changeset number  when closing bug as fixed and add bug number to changeset description to be sure in which build the fix is included. Thank you in advance.

Product Version: NetBeans IDE Dev (Build 201307232300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b53
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b34
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 5 TomasKraus 2013-07-24 10:29:48 UTC
OK, I already know about it.

Checked into web-main:
----------------------
changeset:    59122:1935e6c3ac97                                        
summary:     #232956 - Exception was thrown in server status check
             changed to FINEST level

Exception is thrown all the time when server is not alive so this should be FINEST level.
Comment 6 Quality Engineering 2013-07-26 02:50:55 UTC
Integrated into 'main-silver', will be available in build *201307252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1935e6c3ac97
User: Tomas Kraus <TomasKraus@netbeans.org>
Log: #232956 - Exception was thrown in server status check changed to FINEST level