{I want} the Duplicator to periodically print the number of PDUs it has recorded,
{So that I can} tell if it is capturing anything at all
Context
When running the Duplicator on a network it can be hard to tell if it is seeing any traffic at all. It should periodically print the number of PDUs it has recorded.
It could also periodically do a detailed print, including network information, PDUs captured and their type, size of all the PDUs and so forth.
This should be dumped to log on an interval. It should appear at INFO level as it is useful information to see running in the background. Default should be to print a condensed version, with the ability to override and print a detailed version. This version should support someone coming in after a long time and being able to look at the output and know both what is happening and what other vital information is (like the network configuration).
Story
{As a} simulation administrator,
{I want} the Duplicator to periodically print the number of PDUs it has recorded,
{So that I can} tell if it is capturing anything at all
Context
When running the Duplicator on a network it can be hard to tell if it is seeing any traffic at all. It should periodically print the number of PDUs it has recorded.
It could also periodically do a detailed print, including network information, PDUs captured and their type, size of all the PDUs and so forth.
This should be dumped to log on an interval. It should appear at
INFO
level as it is useful information to see running in the background. Default should be to print a condensed version, with the ability to override and print a detailed version. This version should support someone coming in after a long time and being able to look at the output and know both what is happening and what other vital information is (like the network configuration).Support for:
--log-captured [summary | detailed | none
(defaultsummary
)--log-captured-interval <seconds>
(default30
)Acceptance Criteria
Once complete, the system shall: