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

Entities moved to new architecture are traced as "DefaultIndexer" during full reindex in case you activate DEBUG traces

    Details

      Description

      Entities moved to new architecture are traced as "DefaultIndexer" during full reindex in case you activate DEBUG traces, that makes impossible to find out which indexer failed during the full reindex operation.

      Steps to reproduce

      1. Go to Control Panel => Configuration => Server Administration => Log Levels
      2. Activate INFO traces for com.liferay.portal.search.internal.SearchEngineInitializer
      3. Go to Control Panel => Configuration => Search and execute "Reindex all search indexes."
      4. Check log files: There are several traces with class information about reindex.
        • Expected behavior: All traces are different, so you are able to see which class is being reindexed
        • Wrong behavior: Most of the traces are the same, displaying com.liferay.portal.search.internal.indexer.DefaultIndexer, so you aren't able to distinguish which one was executed
          2020-02-06 18:00:08.846 INFO  [default-15][SearchEngineInitializer:187] Reindexing with class com.liferay.asset.internal.search.AssetEntryIndexer started
          2020-02-06 18:00:08.855 INFO  [default-17][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.855 INFO  [default-22][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.854 INFO  [default-21][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.853 INFO  [default-18][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.853 INFO  [default-23][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.853 INFO  [default-24][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.850 INFO  [default-16][SearchEngineInitializer:187] Reindexing with class com.liferay.trash.internal.search.TrashIndexer started
          2020-02-06 18:00:08.875 INFO  [default-16][SearchEngineInitializer:195] Reindexing with class com.liferay.trash.internal.search.TrashIndexer completed in 0 seconds
          2020-02-06 18:00:08.850 INFO  [default-20][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.849 INFO  [default-19][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.875 INFO  [default-16][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.856 INFO  [default-15][SearchEngineInitializer:195] Reindexing with class com.liferay.asset.internal.search.AssetEntryIndexer completed in 0 seconds
          2020-02-06 18:00:08.896 INFO  [default-15][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.903 INFO  [default-18][SearchEngineInitializer:195] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer completed in 0 seconds
          2020-02-06 18:00:08.953 INFO  [default-18][SearchEngineInitializer:187] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer started
          2020-02-06 18:00:08.937 INFO  [default-19][SearchEngineInitializer:195] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer completed in 0 seconds
          2020-02-06 18:00:08.913 INFO  [default-22][SearchEngineInitializer:195] Reindexing with class com.liferay.portal.search.internal.indexer.DefaultIndexer completed in 0 seconds
          
          

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Bryan Engler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 31 weeks ago

                  Packages

                  Version Package
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master