mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-247: Disabling verbose GC logs
This commit is contained in:
@@ -5,6 +5,8 @@ alfresco.search.ssl.need.token=needClientAuth" default="false"
|
||||
alfresco.search.ssl.need=needclientauth" default="true"
|
||||
alfresco.search.logs=SOLR_LOGS_DIR=../../logs\
|
||||
${line.separator}LOG4J_PROPS=$SOLR_LOGS_DIR/log4j.properties
|
||||
alfresco.gc.logs=GC_LOG_OPTS=""
|
||||
alfresco.gc.logs.win=set GC_LOG_OPTS=" "
|
||||
alfresco.search.logs.win=set SOLR_LOGS_DIR=..\\..\\logs\
|
||||
${line.separator}set LOG4J_PROPS=!SOLR_LOGS_DIR!\\log4j.properties
|
||||
alfresco.search.config=# Alfresco configuration. This file is automatically included by solr. You can define your custom settings here\
|
||||
|
||||
@@ -161,6 +161,12 @@
|
||||
<replace token= "REM set SOLR_LOGS_DIR=logs" value="${alfresco.search.logs.win}" dir="target/solr-${solr.version}">
|
||||
<include name="**/bin/solr.in.cmd"/>
|
||||
</replace>
|
||||
<replace token= "GC logging" value="GC logging${line.separator}${alfresco.gc.logs}" dir="target/solr-${solr.version}">
|
||||
<include name="**/bin/solr.in.sh"/>
|
||||
</replace>
|
||||
<replace token= "GC logging" value="GC logging${line.separator}${alfresco.gc.logs.win}" dir="target/solr-${solr.version}">
|
||||
<include name="**/bin/solr.in.cmd"/>
|
||||
</replace>
|
||||
<replace token= "# Anything you add to the SOLR_OPTS" value="${alfresco.search.config}${line.separator}${line.separator}# Anything you add to the SOLR_OPTS" dir="target/solr-${solr.version}">
|
||||
<include name="**/bin/solr.in.sh"/>
|
||||
</replace>
|
||||
|
||||
Reference in New Issue
Block a user