You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "David Griffon (Jira)" <ji...@apache.org> on 2021/11/09 14:45:00 UTC
[jira] [Created] (UNOMI-525) Improve logging of warn for rules
without actions
David Griffon created UNOMI-525:
-----------------------------------
Summary: Improve logging of warn for rules without actions
Key: UNOMI-525
URL: https://issues.apache.org/jira/browse/UNOMI-525
Project: Apache Unomi
Issue Type: Improvement
Reporter: David Griffon
When a WARN happen in the condition or action process, it is always displayed, generating a lot of logs. We need to find a way to reduce the number of logs.
- We need first to avoid a rule without action (same check as conditions)
- We need also to challenge the refresh of the rules is triggered each second and could be reduce
We need to find a way to not display the same error that much often by (possible options)
- put the logger in debug
- disable the rule when the rule is invalid (could generate some issue as we are reading the rules)
- count or store the display of the error to avoid to display it too many times
--
This message was sent by Atlassian Jira
(v8.20.1#820001)