summaryrefslogtreecommitdiff
path: root/src/couch_log/src/couch_log.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couch_log/src/couch_log.erl')
-rw-r--r--src/couch_log/src/couch_log.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couch_log/src/couch_log.erl b/src/couch_log/src/couch_log.erl
index 0ce4739a4..a8dc5d48d 100644
--- a/src/couch_log/src/couch_log.erl
+++ b/src/couch_log/src/couch_log.erl
@@ -68,6 +68,7 @@ set_level(Level) ->
log(Level, Fmt, Args) ->
case couch_log_util:should_log(Level) of
true ->
+ couch_stats:increment_counter([couch_log, level, Level]),
Entry = couch_log_formatter:format(Level, self(), Fmt, Args),
ok = couch_log_server:log(Entry);
false ->