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

use error() instead of info() log in BeanRecipe's destroy() on exception

    XMLWordPrintableJSON

Details

    Description

      Suggesting to change the following line in org.apache.aries.blueprint.container.BeanRecipe's destroy() to LOGGER.error.

      LOGGER.info("Error invoking destroy method", getRealCause(e));

      2011-03-15 22:21:04,760 INFO [Thread:Gogo shell] [8/org.apache.aries.blueprint/0.3.0]
      org.apache.aries.blueprint.container.BeanRecipe - Error invoking destroy method
      org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed
      at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:176)
      at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:49)
      at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:201)
      at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)

      It is a trivial thing, but helps in troubleshooting.

      Attachments

        Activity

          People

            not Alasdair Nottingham
            kctang Tang Kin Chuen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: