Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1271

Feature service should log in DEBUG instead of INFO

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-feature
    • Labels:
      None

      Description

      Currently, the FeatureService logs the feature installation and bundles in feature installation in INFO:

      • for features:
        LOGGER.info("Installing feature " + feature.getName() + " " + feature.getVersion());
        if (verbose) { System.out.println("Installing feature " + feature.getName() + " " + feature.getVersion()); }
      • for bundles in feature:
        LOGGER.info("Installing bundle " + bundleLocation);
        if (verbose) { System.out.println("Installing bundle " + bundleLocation); }

      If we have a lot of bootFeatures or a feature gathering a lot of bundles, it means that we will have a bunch of log (which is not really insteresting).

      I will move this kind of log in the FeatuerService to DEBUG instead of INFO.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: