Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-61

Specificy the config file to use as a System property

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

    • Bugzilla Id:
      107

      Description

      I'd like to be able to specify the logger config file to use as a System property, something like:

      java -Dlogback.configuration=customConfig.xml

      This is a much cleaner way of controlling the config than by messing with the classpath.

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              tgraham@concordenergy.com Ted Graham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: