Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58111

Add Space PDF export to Audit Log

    XMLWordPrintable

Details

    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      Currently Audit Log screen tracks only HTML and XML space export actions: Audit log
      PDF space export action is not being tracked.

      Suggested Solution

      Add the ability to track space PDF export

      Workaround

      Add class com.atlassian.confluence.extra.flyingpdf with DEBUG Level to "Logging and Profiling" screen. Details can be found in Configuring Logging. This will add logging to the log file, something like this

      2019-04-02 15:36:56,793 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.RenderedXhtmlBuilder] renderToHtml Rendering to exported XHTML page id=327693 (bbdbvdjlv)
      2019-04-02 15:36:56,841 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.RenderedXhtmlBuilder] renderToHtml Rendering to exported XHTML page id=327683 (Test)
      2019-04-02 15:36:56,915 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter column count processing time : 0
      2019-04-02 15:36:56,953 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 30 Harvey Honner-white Team Lead
      
      2019-04-02 15:36:56,954 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 26 Alana Baczewski  Tech Lead
      
      2019-04-02 15:36:56,955 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 25 Sameer Farrell  Marketing
      
      2019-04-02 15:36:56,955 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 27 Mia Bednarczyk  Recruitment
      
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter character count processing time : 40
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter noOfTRCharacters 108
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter numOfColumn 4
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter colScaleFontSize 0.9
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter chaScaleFontSize 1.0
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter final 0.9
      2019-04-02 15:36:56,956 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter column count processing time : 0
      2019-04-02 15:36:56,957 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 4 Link
      
      2019-04-02 15:36:56,958 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 11 Description
      
      2019-04-02 15:36:56,958 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 44 Confluence 101: organize your work in spaces
      
      2019-04-02 15:36:56,959 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 375 Chances are, the information you need to do your job lives in multiple places. Word docs, Evernote files, email, PDFs, even Post-it notes. It's scattered among different systems. And to make matters worse, the stuff your teammates need is equally siloed. If information had feelings, it would be lonely. But with Confluence, you can bring all that information into one place.
      
      2019-04-02 15:36:56,960 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter character count processing time : 3
      2019-04-02 15:36:56,960 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter noOfTRCharacters 419
      2019-04-02 15:36:56,960 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter numOfColumn 2
      2019-04-02 15:36:56,960 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter colScaleFontSize 1.0
      2019-04-02 15:36:56,960 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter chaScaleFontSize 1.0
      2019-04-02 15:36:56,960 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter final 1.0
      2019-04-02 15:36:56,961 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter column count processing time : 0
      2019-04-02 15:36:56,962 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] calculateLargestCellByColumns 323 Customize the name, colour, and icon of Confluence. Decide who can see and edit this space or a specific page by clicking the icon. Learn more about Page Restrictions and Space Permissions. Try adding an inline comment by highlighting some text and click the comment icon. Learn more about inviting your team to Confluence.
      
      2019-04-02 15:36:56,963 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter character count processing time : 2
      2019-04-02 15:36:56,963 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter noOfTRCharacters 323
      2019-04-02 15:36:56,963 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter numOfColumn 1
      2019-04-02 15:36:56,963 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter colScaleFontSize 1.0
      2019-04-02 15:36:56,963 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter chaScaleFontSize 1.0
      2019-04-02 15:36:56,963 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] scaleTableBaseOnNumberOfColumnsAndCharacter final 1.0
      2019-04-02 15:36:56,964 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.html.AutoFontScaleUtils] applyTableScalingLogic Total scaling time : 49
      2019-04-02 15:36:56,966 DEBUG [Long running task: PDF Space Export] [extra.flyingpdf.util.ImageFileCacheUtils] initializeConfluenceTempExportDirectory Temp directory /Users/oraissi/confluence-home/atlassian-confluence-6.15.1/temp/pdf-export88ba40b0-936f-4d52-8962-949d04f4cc35 for pdf export was created
      2019-04-02 15:36:57,097 DEBUG [Long running task: PDF Space Export] [confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter] open PDF document open
      2019-04-02 15:36:57,104 DEBUG [Long running task: PDF Space Export] [confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter] newPage PDF document newPage
      2019-04-02 15:36:57,124 DEBUG [Long running task: PDF Space Export] [confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter] newPage PDF document newPage
      2019-04-02 15:36:57,311 DEBUG [Long running task: PDF Space Export] [confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter] newPage PDF document newPage
      2019-04-02 15:36:57,350 DEBUG [Long running task: PDF Space Export] [confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter] newPage PDF document newPage
      2019-04-02 15:36:57,351 DEBUG [Long running task: PDF Space Export] [confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter] close PDF document closed
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oraissi Omar Raissi
              Votes:
              10 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: