OSGi logs a lot of INFO lines on startup that flood the logs

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Symptoms

      OSGi logs multiple INFO lines to the log on startup that are not necessary, and flood the logs. See attached log file.

      Examples:

      2014-12-01 16:26:57,324 localhost-startStop-1 INFO [osgi.container.felix.FelixOsgiContainerManager] Using Felix bundle cacheKey source: ...........
      
      2014-12-01 16:26:57,823 FelixDispatchQueue INFO [osgi.container.felix.FelixOsgiContainerManager] Installed bundle com.atlassian.plugin.osgi.bridge (1)
      
      2014-12-01 16:27:00,542 FelixDispatchQueue INFO [osgi.container.felix.FelixOsgiContainerManager] Resolved bundle com.atlassian.aui.plugin-integration-sal (10)
      
      2014-12-01 16:26:58,339 FelixDispatchQueue INFO [osgi.container.felix.FelixOsgiContainerManager] Started bundle com.atlassian.plugin.osgi.bridge (1)
      
      2014-12-01 16:26:59,198 localhost-startStop-1 INFO [plugin.osgi.factory.UnrecognisedModuleDescriptorFallbackFactory] Unknown module descriptor of type soy-function registered as an unrecognised descriptor.
      
      2014-12-01 16:27:00,948 ThreadPoolAsyncTaskExecutor::Thread 6 INFO [plugin.osgi.factory.OsgiPlugin] Waiting for service '&pluginSettingsFactory' for plugin 'com.atlassian.oauth.consumer.sal' with filter (objectClass=com.atlassian.sal.api.pluginsettings.PluginSettingsFactory)
      
      2014-12-01 16:27:01,401 ThreadPoolAsyncTaskExecutor::Thread 4 INFO [plugin.osgi.factory.OsgiPlugin] Found service '&transactionTemplate' for plugin 'com.atlassian.oauth.serviceprovider' with filter (objectClass=com.atlassian.sal.api.transaction.TransactionTemplate)
      
      2014-12-01 16:27:01,698 ThreadPoolAsyncTaskExecutor::Thread 8 INFO [plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer] Turned unrecognized plugin module crowd-rest-plugin:crowd-rest-application-service into module crowd-rest-plugin:crowd-rest-application-service (Provides an application level service for Crowd connected clients.)
      
      2014-12-01 16:27:03,573 localhost-startStop-1 INFO [plugin.osgi.factory.ModuleDescriptorServiceTrackerCustomizer] Dynamically registered new module descriptor: com.atlassian.applinks.applinks-plugin:applinksRest-filter
      

      Workaround

      Set the logging level for com.atlassian.plugin.osgi.* to WARN in log4j.properties

        1. standalone.atlassian-crowd.log
          3 kB
          Avi Knoll
        2. atlas-run-standalone.atlassian-crowd.log
          224 kB
          Avi Knoll
        3. new-install-standalone-wac-postgres-atlassian-crowd.log
          187 kB
          Denise Unterwurzacher [Atlassian]

            Assignee:
            Unassigned
            Reporter:
            Denise Unterwurzacher [Atlassian] (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: