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

Daily logs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • 4.2.0
    • None
    • 4.2 RC1

      I think we should use daily logs as in the CMS :

          <RollingFile
              name="RollingFile"
              fileName="${sys:solr.log.dir}/solr.log"
              filePattern="${sys:solr.log.dir}/solr-%d.log" >
            <PatternLayout>
              <Pattern>
                %d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%X{core}] %c{1.} %m%n
              </Pattern>
            </PatternLayout>
            <Policies>
      		<TimeBasedTriggeringPolicy interval="1"/>
            </Policies>
          </RollingFile>
      
          <RollingFile
              name="SlowFile"
              fileName="${sys:solr.log.dir}/solr_slow_requests.log"
              filePattern="${sys:solr.log.dir}/solr_slow_requests-%d.log" >
            <PatternLayout>
              <Pattern>
                %d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%X{core}] %c{1.} %m%n
              </Pattern>
            </PatternLayout>
            <Policies>
      		<TimeBasedTriggeringPolicy interval="1"/>
            </Policies>
          </RollingFile>

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: