[
https://issues.apache.org/jira/browse/SLING-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra resolved SLING-2884.
------------------------------------
Resolution: Fixed
Assignee: Chetan Mehrotra
Fix Version/s: Commons Log 4.0.4
Most part done. Tailing requirement being tracked in SLING-4897
> [Log] Improvements to Web Console plugins
> -----------------------------------------
>
> Key: SLING-2884
> URL: https://issues.apache.org/jira/browse/SLING-2884
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: Commons Log 3.0.0
> Reporter: Felix Meschberger
> Assignee: Chetan Mehrotra
> Fix For: Commons Log 4.0.4
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)