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

Change log level for BackgroundTaskMessageListener

    Details

    • Liferay Contributor's Agreement:
      Accept

      Description

      Change the log level from debug so that we can see logging by default when the DuplicateLockException exception occurs.

       

      catch (DuplicateLockException dle) {
       status = BackgroundTaskConstants.STATUS_QUEUED;
      
       if (_log.isDebugEnabled()) {
       _log.debug(
       "Unable to acquire lock, queuing background task " +
       backgroundTaskId,
       dle);
       }
      }

       

      It is very useful to see this condition immediately on the log file.

        Attachments

          Activity

            People

            • Assignee:
              shuyang.zhou Shuyang Zhou
              Reporter:
              amusarra Antonio Musarra
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                Master