Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1009

BlueprintContainerImpl - Add INFO logging when the blueprint container has been created

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0
    • blueprint-core-1.10.0
    • Blueprint
    • None

    Description

      I am looking into an issue with reload() on aries blueprint, and needed to turn on DEBUG logging on various packages to see what goes on.

      What I am missing is also at normal usage an INFO logging that logs when the blueprint container has been created.

      eg in BlueprintContainerImpl, you have this code

                              eventDispatcher.blueprintEvent(new BlueprintEvent(BlueprintEvent.CREATED, getBundleContext().getBundle(), getExtenderBundle()));
                              state = State.Created;
      

      I suggest to add a INFO logging with details about the blueprint container has been created.

      Then people can easier spot that the container has been created in their logs. Now you need to enable DEBUG log and look for BlueprintEventDispatcher when it sends the even for CREATED.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: