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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.3
    • 6.5, 7.0
    • scripts and tools
    • 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
          4 kB
          Mano Kovacs
        2. SOLR-9885.patch
          3 kB
          Mano Kovacs
        3. SOLR-9885.patch
          3 kB
          Mano Kovacs

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: