You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Chetan Mehrotra <ch...@gmail.com> on 2015/07/22 16:34:43 UTC

[discuss] Change the default behavior for Sling Log Printer for SLING-4788

Hi Team,

As part of SLING-4788 I would like to change some default behaviour of
Sling Log Configuration Printer. The printer currently does following

1. txt mode - Dumps all the content of each active log file
2. zip mode - It zips in all the previous file and also duplicates
content of current active file

Proposed Change

1. txt mode - Dump only last 'n' line (defaults to 5000). This value
would be configurable
2. zip mode - Include only last 3 file for a given active log file.
Again this would be configurable

In addition in txt mode it would also dump summary of all logs file
(size, last modified etc)

Thoughts?

Also if you have any other requirement for the Log support then do
raise an issue

Chetan Mehrotra