summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wallace <mikewallace@apache.org>2015-07-01 22:15:15 +0100
committerJay Doane <jaydoane@apache.org>2021-04-19 00:35:19 -0700
commit7375ba6c0961ee0b5a8c6f8a52d3c50554c216b3 (patch)
tree85e314afdfcea02250aa30636f4929775eca9150
parent97295cfd6bd65f8f954dc82ee25e4148042bce9f (diff)
downloadcouchdb-7375ba6c0961ee0b5a8c6f8a52d3c50554c216b3.tar.gz
Downgrade process call count to notice
This commit downgrades messages about process call counts to notice level. The previous level of warning was inappropriate for many processes as it really just indicated normal operation of the system. Until this check is made a bit smarter, with custom thresholds per MFA, we will log at nothing more severe than notice so that we don't confuse operators into thinking something is wrong. BugzID: 37593
-rw-r--r--src/weatherreport/src/weatherreport_check_process_calls.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weatherreport/src/weatherreport_check_process_calls.erl b/src/weatherreport/src/weatherreport_check_process_calls.erl
index 854570a7b..75dcf7a54 100644
--- a/src/weatherreport/src/weatherreport_check_process_calls.erl
+++ b/src/weatherreport/src/weatherreport_check_process_calls.erl
@@ -42,7 +42,7 @@ valid() ->
-spec total_to_level(integer()) -> atom().
total_to_level(Total) when Total > ?THRESHOLD ->
- warning;
+ notice;
total_to_level(_Total) ->
info.