System pulse logging updated
Hi All,
I find myself again searching for information on preventing unnecessary logs from being written with the upgrade to 23.1.2. This time its
System Pulse Acknowledgement - Message Received
So I found the following information in 23.1.2 Resolved Issues for System Administration
After deploying a ruleset versioning update, the new rules were not being picked up by the queue processor and the system runtime context continued to be the previous ruleset version. This type of issue occurs when the SystemPulse fails to propagate the latest version of the rule to all nodes in the cluster, leading the system to utilize the existing version of the rule. In order to capture whether the deployed rules are propagated to all the nodes in the cluster, additional diagnostic log messages have been added. These loggers handle defined rule update pulse types for diagnostic information, CACHE, RFDEL, IMPRT, CLDEC, PURGE, DSMST, and are based on the environment's production level and DASS: systempulse/rulesUpdate/logAcknowledgement/enabled. Logging has been enabled by default for production level >= 4 (i.e. PRE-PROD or PROD) and disabled by default for lower environments.
But yet again, no information on which owning ruleset this DSS should be created under and whether this can be applied without a restart and whether the value to disable should be set as false or something else.
Hi All,
I find myself again searching for information on preventing unnecessary logs from being written with the upgrade to 23.1.2. This time its
System Pulse Acknowledgement - Message Received
So I found the following information in 23.1.2 Resolved Issues for System Administration
After deploying a ruleset versioning update, the new rules were not being picked up by the queue processor and the system runtime context continued to be the previous ruleset version. This type of issue occurs when the SystemPulse fails to propagate the latest version of the rule to all nodes in the cluster, leading the system to utilize the existing version of the rule. In order to capture whether the deployed rules are propagated to all the nodes in the cluster, additional diagnostic log messages have been added. These loggers handle defined rule update pulse types for diagnostic information, CACHE, RFDEL, IMPRT, CLDEC, PURGE, DSMST, and are based on the environment's production level and DASS: systempulse/rulesUpdate/logAcknowledgement/enabled. Logging has been enabled by default for production level >= 4 (i.e. PRE-PROD or PROD) and disabled by default for lower environments.
But yet again, no information on which owning ruleset this DSS should be created under and whether this can be applied without a restart and whether the value to disable should be set as false or something else.
We have seen since the upgrade 05/06 (8.6 > 23.1.2) upto 600k log entries per day for this logging, which quite frankly is ridiculous.
The other concern we've seen is that the number of minor garbage collections has also increased from around 30k per day to 200k per day. And we can see the following log entries that seem to contribute to this GC run.
14/06/2024
15:42:57.566
This log entry seems to appear upon a user simply logging in to the system and we've no idea what its doing. The FileToDelete param is obviously different for each user logging in.
So if someone can answer the question of what we need to do to turn this logging off that would be great. Also if anyone knows if these are related that would be fantastic to know also.
Thanks
Craig
@CraigA52 thanks for having provided INC-B24907 which I can see is still open and being looked at by our GCS team.
Results from the investigation:
Solution type description:
@CraigA52 thanks for having provided INC-B24907 which I can see is still open and being looked at by our GCS team.
Results from the investigation:
Solution type description:
A diagnostic HFix-B483 has been provided which adds Loggers for custom pre-defined rule update pulse types for diagnostic information, based on environments production level and DASS setting: systempulse/rulesUpdate/logAcknowledgement/enabled with ruleset: Pega-Engine
Pulse Types that have been considered: CACHE, RFDEL, IMPRT, CLDEC, PURGE, DSMST for this custom logging.
Dass would toggle logging if set (true/false), otherwise the logging would be based on environment's production level. It has been enabled by default for production level >= 4 (i.e. PRE-PROD or PROD) and disabled by default for lower env's.
By default if the dss is not added, and then the logging is governed by env's prod level:
So to summarize as to how to observe the Hfix changes:
1. If the DSS "systempulse/rulesUpdate/logAcknowledgement/enabled" with ruleset: Pega-Engine is not set, then the logging would be based on the environment's production level i.e., If production level >= 4, logs are enabled by default, which means for env's greater than or equal to PRE-PROD the logs are enabled by default and for lower envs than it they are disabled by default.
2. Whereas if the dss is set with value true/false, it would toggle the logging based on value. If true, logs would be enabled otherwise it would be disabled, it is not influenced by the env's production level.
Detail:
Issue 1: " when we apply this DSS which is happening this evening would the increased heap usage associated with atmosphere also be affected?"
GCS Answer: -- most likely it will not affect heap usage associated with atmosphere.
Issue 2: "You mention there is a known bug in our patch release related to this framework, but you failed to mention if there is a hotfix for it."
GCS Answer - unfortunately GCS couldn't find a BUG item. This is one of the reasons GCS suggested you create new INC, to track question related to atmosphere class loader
--------------------------------
I have done some research and GCS may have been referring to issues linked to atmosphere-runtime library. This is not relevant as we are not using atmosphere-runtime-native jar in our code Hence, the bug was closed no action.
BUG-842505 (atmosphere-runtime 2.4.5) - the latest Pega versions run 2 . 7 . 9.1, rather than the previous version ( 2 . 4. 5. 14)
Pega 24.1.1 is running the latest jar version.