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

JSONWebServiceServiceAction generates too much output at log

    Details

      Description

      JSONWebServiceServiceAction generates too much output at log, it is always writing the full stacktrace to log, generating very big files.

      If a JSON client executes a lot of invalid requests, Liferay Portal will generate a lot of stacktrace output at log file.
      For example Liferay Sync client at SYNC-1247 ask every 5 seconds for a deleted repository, only one LR Sync client process generates at customer environment 300 Mb of log with same stacktrace information.

      As solution, we can remove stacktrace from normal "log.error" trace and add a new "log.warn" with full stracktrace, allowing changing log level at execution time from error to warn in case of problems

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 20 weeks ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M3