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 243906 - No more colors in Glassfish server log with Java 8
Summary: No more colors in Glassfish server log with Java 8
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0
Hardware: Macintosh Mac OS X
: P3 normal with 3 votes (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 10:35 UTC by garbi
Modified: 2015-05-19 10:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (97.40 KB, text/plain)
2014-04-18 10:35 UTC, garbi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description garbi 2014-04-18 10:35:29 UTC
According to Netbeans preferences, Glassfish server log  should follow the following coloring scheme : fine/finer/finest entries in green, config/info in gray, warning and up in red. However, NetBeans 8.0 with Java 8 shows logs in plain black.

The problem seems to be related to the use of Java 8. That is, when using NetBeans 8 or even 7.4 running on Java 8, I have the problem, but as soon as I switch back to Java 7, output log coloring with Glassfish works fine again on both NetBeans 8 and 7.4.

I tried to restore the color settings for output windows in NetBeans preferences but it does not changes anything.

According to reports in stackoverflow, this does not seem to be a Mac OS X problem only :

http://stackoverflow.com/questions/22670196/netbeans8-doesnt-coloring-glassfishs-output-log-anymore

Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Mac OS X version 10.9.2 running on x86_64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02
Comment 1 garbi 2014-04-18 10:35:33 UTC
Created attachment 146815 [details]
IDE log
Comment 2 TomasKraus 2014-07-16 09:19:37 UTC
I know that missing colors are sometimes annoying. But this is not P2 bug. Lowering to P3.
Comment 3 garbi 2014-07-16 09:54:56 UTC
(In reply to TomasKraus from comment #2)
> I know that missing colors are sometimes annoying. But this is not P2 bug.
> Lowering to P3.

You are of course perfectly entitled to lower the priority of this issue, and event to ignore it completely, but let me respectfully disagree with your comment and motivation to do so.

This is clearly a regression in terms of functionality and a serious GUI bug since this whole part of the preferences has simply no effect and does not work as advertised.

In addition, suggesting that the use of colors in logs is a luxury is very surprising to me, as logs can be quite complex and hard to read, especially when it comes to Java Enterprise applications.

Along that line, why don't we just get rid of syntax highlighting and other such kinds of "luxuries". After all, when I was a student, there were no decent IDE on Unix and we were basically programming using vi and the command line...

Yet this is not what people expect from an IDE today, and while not many people will probably bother complaining (not to mention filing a bug report), this is the kind of functional degradation that eventually makes them turn to another IDE. 

Personally, I am currently seriously looking into IntelliJ, as they provide a free version for academia and it would perfectly fit with what I am doing with the student in my programming classes at university. 

Yet as a long-time NetBeans user and supporter (and former Sun employee), I find all this very sad...
Comment 4 TomasKraus 2014-07-16 12:52:32 UTC
Well, P2 is something that blocks you in some way. I know that we do not pay enough attention to P3 bugs but there are really more important things to fix now that really blocks user to do something important, e.g. deploy application with JDBC resource, etc.

In this case you still have logs visible and there are much more powerful tools to work with them than NetBeans - grep, awk, sed, ...and other text processing tools.

I was doing a lot of server side development and I'm still doing some and believe me, those small tools helped me much more to analyse logs than colors in NetBeans logs output.

But we'll try to do something with this bug.
Comment 5 Petr Hejl 2015-04-28 12:40:21 UTC
Is this still a valid issue? I have tested with jdk1.7.0_60 and jdk1.8.0_05 and I do see grey INFOs and red WARNINGs.
Comment 6 Petr Hejl 2015-04-28 12:40:36 UTC
Using the dev build.
Comment 7 Petr Hejl 2015-05-19 10:05:32 UTC
As I said this seems to be ok now. Feel free to reopen.