eina: change default log level at which we display backtrace.
authorCedric BAIL <cedric@osg.samsung.com>
Sat, 15 Aug 2015 10:53:00 +0000 (12:53 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Sat, 15 Aug 2015 10:53:00 +0000 (12:53 +0200)
We mostly use in our code base ERR in conjunction with system related error. This
doesn't require any information from who did call that function to get debugged and
is creating way to much noise with little value.

src/lib/eina/eina_log.c

index 6fc9626..a9eb9aa 100644 (file)
@@ -121,7 +121,7 @@ static Eina_Bool _disable_timing = EINA_TRUE;
 static int _abort_level_on_critical = EINA_LOG_LEVEL_CRITICAL;
 
 #ifdef EINA_LOG_BACKTRACE
-static int _backtrace_level = 2; // CRI & ERR by default
+static int _backtrace_level = 1; // CRI & ERR by default
 #endif
 
 static Eina_Bool _threads_enabled = EINA_FALSE;