Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8731

Reduce the size of the log produced by a migration failure or old database not yet migrated

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.1
    • Fix Version/s: 4.5-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      for a single migration erreur, you may get from 5k lines to 22k lines of logs, repeating mostly the same things. All these lines are mostly issued by macros, plugins, and access to preferences. Each failure logs the whole exception again.
      To sensibly reduce the logs, I propose that we lower the logging level of access to Preferences (user, space and wiki) to DEBUG. This will reduced the resulting log by more than 90%.

      see http://markmail.org/thread/wa24cnqgqblxwkoa for discussion

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                softec Denis Gervalle
                Reporter:
                softec Denis Gervalle
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: