You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/11/24 06:56:00 UTC

[1/3] couch-log commit: updated refs/heads/master to 8981939

Repository: couchdb-couch-log
Updated Branches:
  refs/heads/master 4d04ccb97 -> 898193959


Collect stats for alert log messages


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/commit/89819395
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/tree/89819395
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/diff/89819395

Branch: refs/heads/master
Commit: 89819395906e6ac1cea5cf0039c4a81a41ec970d
Parents: d060bbb
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Nov 24 08:42:25 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Tue Nov 24 08:44:00 2015 +0300

----------------------------------------------------------------------
 priv/stats_descriptions.cfg | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/blob/89819395/priv/stats_descriptions.cfg
----------------------------------------------------------------------
diff --git a/priv/stats_descriptions.cfg b/priv/stats_descriptions.cfg
index 9350a9c..31e4161 100644
--- a/priv/stats_descriptions.cfg
+++ b/priv/stats_descriptions.cfg
@@ -14,6 +14,10 @@
 % a trailing full-stop / period
 % Please keep this in alphabetical order
 
+{[couch_log, level, alert], [
+    {type, counter},
+    {desc, <<"number of logged alert messages">>}
+]}.
 {[couch_log, level, critical], [
     {type, counter},
     {desc, <<"number of logged critical messages">>}


[3/3] couch-log commit: updated refs/heads/master to 8981939

Posted by kx...@apache.org.
Add missed emergency callback


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/commit/4bac9021
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/tree/4bac9021
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/diff/4bac9021

Branch: refs/heads/master
Commit: 4bac90217fea839504cc87b23b1c2b933f2c8f7f
Parents: 4d04ccb
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Nov 24 04:05:33 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Tue Nov 24 08:44:00 2015 +0300

----------------------------------------------------------------------
 src/couch_log.erl | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/blob/4bac9021/src/couch_log.erl
----------------------------------------------------------------------
diff --git a/src/couch_log.erl b/src/couch_log.erl
index dbc8cad..826f009 100644
--- a/src/couch_log.erl
+++ b/src/couch_log.erl
@@ -26,6 +26,7 @@
 -callback error(Fmt::string(), Args::list()) -> ok.
 -callback critical(Fmt::string(), Args::list()) -> ok.
 -callback alert(Fmt::string(), Args::list()) -> ok.
+-callback emergency(Fmt::string(), Args::list()) -> ok.
 -callback set_level(Level::atom()) -> ok.
 
 


[2/3] couch-log commit: updated refs/heads/master to 8981939

Posted by kx...@apache.org.
Format long line


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/commit/d060bbb6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/tree/d060bbb6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/diff/d060bbb6

Branch: refs/heads/master
Commit: d060bbb6a395da86f2fcb43a1f4f3680fbcb3569
Parents: 4bac902
Author: Alexander Shorin <kx...@apache.org>
Authored: Tue Nov 24 08:40:24 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Tue Nov 24 08:44:00 2015 +0300

----------------------------------------------------------------------
 src/couch_log.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-log/blob/d060bbb6/src/couch_log.erl
----------------------------------------------------------------------
diff --git a/src/couch_log.erl b/src/couch_log.erl
index 826f009..b24e5e1 100644
--- a/src/couch_log.erl
+++ b/src/couch_log.erl
@@ -16,7 +16,8 @@
 -include_lib("eunit/include/eunit.hrl").
 -endif.
 
--export([debug/2, info/2, notice/2, warning/2, error/2, critical/2, alert/2, emergency/2]).
+-export([debug/2, info/2, notice/2, warning/2, error/2, critical/2, alert/2,
+         emergency/2]).
 -export([set_level/1]).
 
 -callback debug(Fmt::string(), Args::list()) -> ok.