Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5863

AuditLoggingManager is clogging up test logs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 5.3.2
    • None
    • None
    • None

      We get a lot of log entries similar to the below when running tests.
      This is because AuditLoggingManager is registered via core.xml which declares it as an observed manager. AFAICT, this is no value in unit tests, so I'd rather shunt it so that test log remain readable.

      2014-08-04 13:25:16,340 INFO  fo.magnolia.objectfactory.ObservedComponentFactory: /server/auditLogging does not exist, will return a new instance of class info.magnolia.audit.AuditLoggingManager.
      2014-08-04 13:25:16,340 WARN  info.magnolia.context.AbstractRepositoryStrategy  : won't close session because of registered observation listener config

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD