[ 
https://issues.apache.org/jira/browse/SLING-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed SLING-314.
-----------------------------------

    Resolution: Fixed

Implemented this support in Rev. 634637:

   * org.apache.osgi.log.file.number - number of rotated log files to keep, 
default is 5
   * org.apache.osgi.log.file.size - maximum log file size before rotation, 
default is 10mb

These properties have been set in the default sling.properties file in Rev. 
634638 and may be set on the command line as system proprties and be configured 
in the sling console.

> Support configuration of log rotation: number and size of files
> ---------------------------------------------------------------
>
>                 Key: SLING-314
>                 URL: https://issues.apache.org/jira/browse/SLING-314
>             Project: Sling
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> Currently log files are rotated such, that at most 5 files exist with a 
> maximum size of ~1MB each. For issue detection using DEBUG logging, this is 
> not always sufficient.
> The values for the number of files and the maximum size should be cofigurable 
> in the log service implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to