Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2011

Remove post commit listeners warning

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.1.0
    • Fix Version/s: Not yet scheduled version
    • Component/s: Tests

      Description

      Issue

      server.log is full of:

      020-01-20T15:50:00,136 WARN  [Nuxeo-Work-updateACEStatus-1:3620703335882628.66208095] [org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor] Running post commit event listeners: [EventListenerDescriptor [name=auditLoggerListener, className=org.nuxeo.ecm.platform.audit.listener.AuditEventLogger, isPostCommit=true, isAsync=false]]. Post commit event listener execution will soon be deprecated, see NXP-27986. As explained in NXP-26911, please update your post commit event listener contributions to make the listeners asynchronous with <listener async="true"...>.
      

      This generates a lot of noise and makes debugging hard.

      Analisys

      Thanks Antoine Taillefer, lines that introduced that behavior are https://github.com/nuxeo/nuxeo-drive/blob/21a1b8913b4be4d0b25e444a1042e7510b837ea3/ftest/custom/nuxeo.defaults#L7-L8.

      Fix

      We should first remove those lines from the configuration file and see if tests are still going well. If so, let's stop here.

      If not, let's use the warning filter as described in NXP-26911.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 25 minutes
                  25m