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

UPSServiceEJB logger: decrease logging level on UPS on Store from INFO to DEBUG #2809

Closed
gunterze opened this issue Oct 2, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented Oct 2, 2020

UPSServiceEJB logger: decrease logging level on UPS on Store for operations not creating a new or updating an existing UPS entity.

     public UPS createOrUpdateOnStore(StoreContext ctx, Calendar now, UPSOnStore rule) {
-        LOG.info("{}: Apply {}", ctx.getStoreSession(), rule);
+        LOG.debug("{}: Apply {}", ctx.getStoreSession(), rule);
         String iuid = rule.getInstanceUID(ctx.getAttributes());
         try {
             UPS ups = findUPS(iuid);
@@ -748,7 +748,7 @@ public class UPSServiceEJB {
                     if (ups.getProcedureStepState() == UPSState.SCHEDULED) break;
                 case SINGLE:
                 case NO:
-                    LOG.info("{}: {} already exists", ctx.getStoreSession(), ups);
+                    LOG.debug("{}: {} already exists", ctx.getStoreSession(), ups);
                     return null;
@gunterze gunterze added the enhancement New feature or request label Oct 2, 2020
@gunterze gunterze added this to the 5.22.6 milestone Oct 2, 2020
@gunterze gunterze self-assigned this Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant