Gehel has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/388130 )

Change subject: elasticsearch: auto reload log4j2 configuration
......................................................................


elasticsearch: auto reload log4j2 configuration

At the moment, we need a full cluster restart to reload simple changes in
logging configuration. Log4j2 has a mechanism to autoreload the
configuration with very minimal performance impact. Let's use it.

Change-Id: I94fa19375ba13ee4a041f3a3fe65628416b8139d
---
M modules/elasticsearch/templates/log4j2.properties.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  DCausse: Looks good to me, but someone else must approve
  Gehel: Looks good to me, approved



diff --git a/modules/elasticsearch/templates/log4j2.properties.erb 
b/modules/elasticsearch/templates/log4j2.properties.erb
index e079d12..7230945 100644
--- a/modules/elasticsearch/templates/log4j2.properties.erb
+++ b/modules/elasticsearch/templates/log4j2.properties.erb
@@ -1,4 +1,4 @@
-
+monitorInterval=600
 rootLogger.level = info
 rootLogger.appenderRef.file.ref = file
 <% if @send_logs_to_logstash %>

-- 
To view, visit https://gerrit.wikimedia.org/r/388130
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I94fa19375ba13ee4a041f3a3fe65628416b8139d
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to