aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/afb/afb-verbosity.h6
-rw-r--r--src/verbose.h13
2 files changed, 10 insertions, 9 deletions
diff --git a/include/afb/afb-verbosity.h b/include/afb/afb-verbosity.h
index 1a74654c..6c297562 100644
--- a/include/afb/afb-verbosity.h
+++ b/include/afb/afb-verbosity.h
@@ -19,9 +19,9 @@
#define AFB_VERBOSITY_LEVEL_ERROR 0
#define AFB_VERBOSITY_LEVEL_WARNING 1
-#define AFB_VERBOSITY_LEVEL_NOTICE 1
-#define AFB_VERBOSITY_LEVEL_INFO 2
-#define AFB_VERBOSITY_LEVEL_DEBUG 3
+#define AFB_VERBOSITY_LEVEL_NOTICE 2
+#define AFB_VERBOSITY_LEVEL_INFO 3
+#define AFB_VERBOSITY_LEVEL_DEBUG 4
#define _AFB_SYSLOG_LEVEL_ERROR_ 3
#define _AFB_SYSLOG_LEVEL_WARNING_ 4
diff --git a/src/verbose.h b/src/verbose.h
index 8b605796..4b103ca8 100644
--- a/src/verbose.h
+++ b/src/verbose.h
@@ -27,9 +27,10 @@
----------------+------------------------
lesser than 0 : no message at all
0 : ERROR
- 1 : ERROR, WARNING, NOTICE
- 2 : ERROR, WARNING, NOTICE, INFO
- greater than 2 : ERROR, WARNING, NOTICE, INFO, DEBUG
+ 1 : ERROR, WARNING
+ 2 : ERROR, WARNING, NOTICE
+ 3 : ERROR, WARNING, NOTICE, INFO
+ greater than 3 : ERROR, WARNING, NOTICE, INFO, DEBUG
*/
extern int verbosity;
@@ -38,9 +39,9 @@ enum verbosity_levels
{
Verbosity_Level_Error = 0,
Verbosity_Level_Warning = 1,
- Verbosity_Level_Notice = 1,
- Verbosity_Level_Info = 2,
- Verbosity_Level_Debug = 3
+ Verbosity_Level_Notice = 2,
+ Verbosity_Level_Info = 3,
+ Verbosity_Level_Debug = 4
};
extern void verbose_set_name(const char *name, int authority);