intelmq icon indicating copy to clipboard operation
intelmq copied to clipboard

Consistent message counter log messages for all kind of bots

Open ghost opened this issue 7 years ago • 2 comments

While we have the "Processed ... messages since last logging" for all other bot types, the output does not have this message for outputs.

The reason is that the counter is handled in the send-message method, which is never called by outputs. This raises the question where we actually should do this, probably directly after the process() if it succeeded?

ghost avatar Jul 20 '18 13:07 ghost

Proposal:

For collectors: Sent 1 messages since last logging. For parsers: Received 1 messages, sent 1 messages, found 0 errors since last logging. For experts: Received 1 messages, sent 1 messages since last logging. For outputs: Received 1 messages since last logging.

Currently, the logging of the Sent 2 events and found 0 error(s). works differently than the other ones and is not configurable. It should be consistent for all kinds of bots.

ghost avatar Oct 16 '18 18:10 ghost

changing the milestone to 1.2 as this will change existing log messages

probably solve together with #1274

ghost avatar Oct 19 '18 10:10 ghost