Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2884

[Log] Improvements to Web Console plugins

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Commons Log 3.0.0
    • Fix Version/s: Commons Log 4.0.4
    • Component/s: Commons
    • Labels:
      None

      Description

      The current Web Console plugins of the Commons Log bundles show some defficiencies IMHO:

      (1) The Configuration Printer writes back all active log files in the printConfiguration method. Probably it should not return the file contents but just a list of active and rotated log files along with their sizes and probably last modification time. (The getAttachments method is correct in adding all active and rotated log files to the ZIP)

      (2) The Web Console Plugin should not list the absolute path names of the log files but the path names from the original configuration. This might require a new SlingLoggerWriter.getName() method which returns the configured file name.

      (3) The Web Console Plugin should be extended to:
      (3a) allow looking at a log file (maybe "trailing" it ?)
      (3b) remove single log files
      (3c) remove rotated log files: single, all, by age

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                fmeschbe Felix Meschberger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: