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

AuditLoggingManager is clogging up test logs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.2
    • Component/s: None
    • Labels:
      None

      Description

      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

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Checklists

                  DoD