Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging level needs to be improved #192

Closed
jajupreetam opened this issue Feb 13, 2019 · 1 comment
Closed

Logging level needs to be improved #192

jajupreetam opened this issue Feb 13, 2019 · 1 comment

Comments

@jajupreetam
Copy link

jajupreetam commented Feb 13, 2019

Once I import the jar into my project, all the logs are produced at INFO level, can you please change this accordingly so that my application doenst produces too much of logs.

eg-

18:50:07.874 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Engine parameters { skipOnFirstAppliedRule = false, skipOnFirstNonTriggeredRule = false, skipOnFirstFailedRule = false, priorityThreshold = 2147483647 }
18:50:07.881 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Registered rules:
18:50:07.891 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Rule { name = 'firstname rule', description = 'firstName should not be empty/blank', priority = '2147483646'}
18:50:07.893 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Rule { name = 'lastname rule', description = 'lastname should not be empty/blank', priority = '2147483646'}
18:50:07.893 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Known facts:
18:50:07.893 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Fact { myRowData : jeasyrule.MyRowData@27ddd392 }
18:50:07.893 [main] INFO org.jeasy.rules.core.DefaultRulesEngineListener - Rules evaluation started
beforeEvaluate firstname rule
18:50:07.905 [main] INFO org.jeasy.rules.core.DefaultRuleListener - Rule 'firstname rule' triggered
afterEvaluate firstname rule evaluationResult true
beforeExecute firstname rule
FirstName Valid:true
18:50:07.906 [main] INFO org.jeasy.rules.core.DefaultRuleListener - Rule 'firstname rule' performed successfully
onSuccess firstname rule
beforeEvaluate lastname rule
18:50:07.906 [main] INFO org.jeasy.rules.core.DefaultRuleListener - Rule 'lastname rule' has been evaluated to false, it has not been executed
afterEvaluate lastname rule evaluationResult false
@fmbenhassine
Copy link
Member

This is fixed in #166. Please keep tuned for v3.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants