Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74276

Add support to log unsatisfied declarative services to help developer diagnose issues

    Details

      Description

      Usages:

      1. disable/enable logging by osgi configuration file
        a. add osgi configuration file to osgi/configs: com.liferay.portal.osgi.debug.declarative.service.internal.configuration.UnsatisfiedComponentScannerConfigurationcfg
        b. set your own checking interval by adding like "unsatisfiedComponentScanningInterval=10", setting to zero or negative means disable scanning, time unit is second.
      2. gogo shell command:
        a. "ds:unsatisfied" to show all unsatisfied services
        b. "ds:unsatisfied BUNDLE_ID" to show unsatisfied services for BUNDLE_ID

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                koor.gai Koor Gai
                Reporter:
                tina.tian Tina Tian
                Recent user:
                Csaba Turcsan
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.0 DXP FP31
                  7.0.5 CE GA6
                  Master