Skip to content

Commit

Permalink
Enable extensions.
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Lee <[email protected]>
  • Loading branch information
austintlee committed Oct 23, 2023
1 parent 9b7a9d0 commit 96c081e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distribution/src/config/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ status = error
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.console.layout.pattern = %style{[%d{ISO8601}]}{FG_Red BG_White} %highlight{[%-5p][%-25c{1.}]} %style{[%node_name]}{FG_Magenta BG_White} %style{<%t>}{bright green} %style{[%M]}{bright magenta} : %marker %style{%m}{FG_Black BG_Yellow}%n

#[%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n

######## Server JSON ############################
appender.rolling.type = RollingFile
Expand Down Expand Up @@ -65,7 +67,7 @@ appender.rolling_old.strategy.action.condition.nested_condition.type = IfAccumul
appender.rolling_old.strategy.action.condition.nested_condition.exceeds = 2GB
################################################

rootLogger.level = info
rootLogger.level = debug
rootLogger.appenderRef.console.ref = console
rootLogger.appenderRef.rolling.ref = rolling
rootLogger.appenderRef.rolling_old.ref = rolling_old
Expand Down
2 changes: 2 additions & 0 deletions gradle/run.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ testClusters {
testDistribution = 'archive'
if (numZones > 1) numberOfZones = numZones
if (numNodes > 1) numberOfNodes = numNodes

systemProperty 'opensearch.experimental.feature.extensions.enabled', 'true'
}
}

Expand Down

0 comments on commit 96c081e

Please sign in to comment.