[QFJ-136] Add capability to filter out Heartbeats to to SLF4JLog and others Created: 10/Feb/07 Updated: 12/Apr/07 Resolved: 11/Feb/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.0.5 |
Fix Version/s: | 1.1.0 |
Type: | Improvement | Priority: | Default |
Reporter: | Toli Kuznets | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Issue Links: |
|
Description |
ScreenLog is currently the only logger to allow for filtering out of heartbeats. In slf4j logger, it's trivial to implement by just adding another special logger category that can be filtered out in log4j.properties. However, since the strings created are pretty large, it may actually be a lot more efficient to intercept it at a higher level and just not print altogether, hopefully saving some string concats along the way. |
Comments |
Comment by Steve Bate [ 11/Feb/07 ] |
Are you thinking about a common abstract base class for the QFJ loggers that would provide a configuration option for doing the filtering? If so, that sounds like a reasonable approach. |
Comment by Steve Bate [ 11/Feb/07 ] |
I added a common base class that includes filtering capabilities. |