Felix Meschberger created SLING-2884:
----------------------------------------
Summary: [Log] Improvements to Web Console plugins
Key: SLING-2884
URL: https://issues.apache.org/jira/browse/SLING-2884
Project: Sling
Issue Type: Bug
Components: Commons
Affects Versions: Commons Log 3.0.0
Reporter: Felix Meschberger
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira