Closed martan81 closed 2 months ago
Thank you for your PR! Adding logging about P-Mode matching sounds like a good idea. We will review in detail and get back to you about including it in the next release.
Hi Jozef, sorry for the late response, but I am just now looking at integrating this PR into the next version of HB2B. I think the new logging is a good addition to HB2B and will make it easier to debug P-Mode not found errors. So thank you for providing the code. I merged your code into the next version, I however also made two changes to it:
PModeFinder
class. So there no need to check if log exists. It also makes it easier to configure the logging as it can be enabled/disabled separately from the main message processing logging.
Debug logs in PModeFinder. It helps determine reason why P-Mode was not found.