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 267599 - Wildfly server log starts from the very beginning
Summary: Wildfly server log starts from the very beginning
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.2
Hardware: PC Linux
: P4 normal with 1 vote (vote)
Assignee: ehsavoie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-16 10:12 UTC by jockel
Modified: 2017-03-08 02:52 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jockel 2016-08-16 10:12:41 UTC
During a workday I sometimes encounter the situation that the Wildfly server log is displayed from the very beginning when I'm deploying my application.

I usually re-use the same running Wildfly instance. From time to time I clear the output window. Now it happens sometimes that the complete log (from the very first line) is displayed in the output window and not only the new generated lines from the new deployment.
This is unfortunate since the application is not shown in the browser until every single line is outputted. Till then I can only do three things: 

a) wait until the complete log is shown (depending on the filesize of the log up to 20 minutes)
b) kill the server
c) delete the log file from the file system (which re-creates a new log-file and deployment is continued immediately)

The size of my log-file (one for each day) is usually something between 10 and 50 MB. (On rare occasions several hundred MBs).

I haven't found a pattern yet, when this occurs. Some days it does not happen at all, some days a few times a day.

Maybe this behaviour is somehow related to https://netbeans.org/bugzilla/show_bug.cgi?id=258436 (the described behaviour occurs after the linked bug was closed).

Further information:

Product Version: NetBeans IDE Dev (Build 201608150002)
Java: 1.8.0_31; Java HotSpot(TM) 64-Bit Server VM 25.31-b07
Runtime: Java(TM) SE Runtime Environment 1.8.0_31-b13
System: Linux version 3.16.0-38-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/jr/.netbeans/dev
Cache directory: /home/jr/.cache/netbeans/dev
Comment 1 ozziej 2017-02-16 06:24:04 UTC
This also occurs on 8.2 dev builds 201702120002 (and earlier) 
I'm running MacOS X 10.12.3
Its incredibly frustrating as it can take few minutes to trawl through the log.
It seems to happen when doing a clean and build or stopping and restarting the debugger.
The log window should rather start a "tail" process as opposed to starting at the beginning.
Comment 2 ehsavoie 2017-02-22 14:01:14 UTC
Should be fixed in changeset 302775:3cd4f2c755f4
Comment 3 Quality Engineering 2017-03-08 02:52:05 UTC
Integrated into 'main-silver', will be available in build *201703080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3cd4f2c755f4
User: Emmanuel Hugonnet <ehsavoie@netbeans.org>
Log: Fixing bug #267599 - Wildfly server log starts from the very beginning