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 253165 - Suppress duplicate messages in messages.log file
Summary: Suppress duplicate messages in messages.log file
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 16:11 UTC by Martin Entlicher
Modified: 2015-08-28 01:23 UTC (History)
0 users

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 Martin Entlicher 2015-06-24 16:11:02 UTC
Sometimes there are identical log messages printed several times. It makes the messages.log file too long.
The solution is to print the multiple identical messages only once and add the number of repeated messages.
Comment 1 Martin Entlicher 2015-07-20 08:08:50 UTC
Fixed by changeset:   289909:6de685f49523
http://hg.netbeans.org/core-main/rev/6de685f49523
Comment 2 Quality Engineering 2015-07-21 01:19:09 UTC
Integrated into 'main-silver', will be available in build *201507210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6de685f49523
User: mentlicher@netbeans.org
Log: #253165: Filter duplicate messages in messages.log file.
Comment 3 Martin Entlicher 2015-08-24 11:27:07 UTC
The fix is improved by changeset:   291070:91dab0d89cda
http://hg.netbeans.org/core-main/rev/91dab0d89cda
We prevent from proliferation of "Last record repeated again" messages when equal records are reported over a long period of time.
Comment 4 Quality Engineering 2015-08-28 01:23:26 UTC
Integrated into 'main-silver', will be available in build *201508280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/91dab0d89cda
User: mentlicher@netbeans.org
Log: #253165: Further improvement - prevent from proliferation of "Last record repeated again" messages.