Ori.livneh has uploaded a new change for review.

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

Change subject: Lower the log level of stats output to stderr
......................................................................

Lower the log level of stats output to stderr

Lower the log level of stats output to stderr from INFO to DEBUG, to prevent
the log file from bloating.

Change-Id: I54efdef9438e496cff9ed2286bf397ebaffb47a6
---
M statsv.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/statsv 
refs/changes/23/229623/1

diff --git a/statsv.py b/statsv.py
index 5e329ca..0d3737c 100644
--- a/statsv.py
+++ b/statsv.py
@@ -54,6 +54,6 @@
             assert metric_type in supported_metric_types
             statsd_message = '%s:%s|%s' % (metric_name, metric_value, 
metric_type)
             statsd_sock.sendto(statsd_message.encode('utf-8'), statsd_addr)
-            logging.info(statsd_message)
+            logging.debug(statsd_message)
     except (AssertionError, AttributeError, KeyError):
         pass

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I54efdef9438e496cff9ed2286bf397ebaffb47a6
Gerrit-PatchSet: 1
Gerrit-Project: analytics/statsv
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to