Opened 13 years ago
Closed 13 years ago
#1546 closed feature request (done)
Limit number of log messages
Reported by: | cneumuel | Owned by: | swagner |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.5 |
Component: | Core | Version: | 3.3.5 |
Keywords: | Cc: |
Description
In long-living components (such as a Hive Slave) the use of HeuristicLab's Log type is problematic because log-messages accumulate in memory. One solution would be to clear the log from time to time, resulting in the loss of all messages. A nicer solution would be to that a log can (optionally) be told to cap the number of messages stored.
ILog unlimitedLog = new Log(); // all messages are stored ILog limitedLog = new Log(100); // only the latest 100 messages are stored
Change History (5)
comment:1 Changed 13 years ago by cneumuel
- Status changed from new to accepted
comment:2 Changed 13 years ago by cneumuel
- Owner changed from cneumuel to swagner
- Status changed from accepted to reviewing
comment:3 Changed 13 years ago by mkommend
- Owner changed from swagner to mkommend
comment:4 Changed 13 years ago by mkommend
- Owner changed from mkommend to swagner
- Status changed from reviewing to readytorelease
Thanks for implementing this feature.
comment:5 Changed 13 years ago by swagner
- Resolution set to done
- Status changed from readytorelease to closed
- Version changed from 3.3.4 to 3.3.5
Note: See
TracTickets for help on using
tickets.
r6423 added optional limit to log