Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/98694


Change subject: log.statistics.file now defaults to /tmp/varnishkafka.stats.json
......................................................................

log.statistics.file now defaults to /tmp/varnishkafka.stats.json

Change-Id: I2e1943ce58ed54232e83ee3d337627dbab7d88d1
---
M varnishkafka.c
M varnishkafka.conf.example
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/software/varnish/varnishkafka 
refs/changes/94/98694/1

diff --git a/varnishkafka.c b/varnishkafka.c
index fc31192..bf42b19 100644
--- a/varnishkafka.c
+++ b/varnishkafka.c
@@ -1933,7 +1933,7 @@
        conf.loglines_hmax  = 5;
        conf.scratch_size   = 4096;
        conf.stats_interval = 60;
-       conf.stats_file     = strdup("/var/cache/varnishkafka.stats.json");
+       conf.stats_file     = strdup("/tmp/varnishkafka.stats.json");
        conf.log_kafka_msg_error = 1;
        conf.rk_conf = rd_kafka_conf_new();
        rd_kafka_conf_set(conf.rk_conf, "client.id", "varnishkafka", NULL, 0);
diff --git a/varnishkafka.conf.example b/varnishkafka.conf.example
index 6318018..3cba62f 100644
--- a/varnishkafka.conf.example
+++ b/varnishkafka.conf.example
@@ -190,8 +190,8 @@
 #log.statistics.interval = 60
 
 # Statistics output file
-# Defaults to /var/cache/varnishkafka.stats.json
-#log.statistics.file = /var/cache/varnishkafka.stats.json
+# Defaults to /tmp/varnishkafka.stats.json
+#log.statistics.file = /tmp/varnishkafka.stats.json
 
 
 # daemonize varnishkafka (boolean)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e1943ce58ed54232e83ee3d337627dbab7d88d1
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/varnish/varnishkafka
Gerrit-Branch: master
Gerrit-Owner: Ottomata <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to