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

base directory for logfiles should be configurable

    XMLWordPrintableJSON

    Details

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

      Description

      When you specify a name of a logfile written by Sling logging in a relative manner, the base directory is assumed to be the current working directory.

      Would it be possible to override this behaviour by a configuration parameter, which allows me to specifiy this directory from the outside as system property or property specified in sling.properties file?

      We have many Sling instances basically running with the same configuration, but the log files must be placed in a different directory (per instance) than the working directory. So instead of making all logfile names absolute I would like to define this path once for all logfiles produced by this sling instance.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joerghoh Jörg Hoh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: