Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9885

Allow pre-startup Solr log management in Solr bin scripts to be disabled.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.5, 7.0
    • Component/s: scripts and tools
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      There is log rotation and log archiver in solr starter script, which is failing if solr is deployed with custom log configuration (different log filename). Also inconvenient if using custom log rotation/management.
      https://github.com/apache/lucene-solr/blob/master/solr/bin/solr#L1464

      Proposing an environment setting, something like SOLR_LOG_PRESTART_ROTATION (with default true), that makes the execution of the four lines configurable.

        Attachments

        1. SOLR-9885.patch
          3 kB
          Mano Kovacs
        2. SOLR-9885.patch
          3 kB
          Mano Kovacs
        3. SOLR-9885.patch
          4 kB
          Mano Kovacs

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                manokovacs Mano Kovacs
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: