[ekiga] Allow debug (log) levels up to 8 (currently used by ptlib)
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Allow debug (log) levels up to 8 (currently used by ptlib)
- Date: Wed, 11 May 2011 13:16:53 +0000 (UTC)
commit 5b041caeabaaa34eb9ff9704ec0a617198f0ae27
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Wed May 11 15:16:15 2011 +0200
Allow debug (log) levels up to 8 (currently used by ptlib)
src/gui/main_window.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 6168a89..d147dea 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -4773,7 +4773,7 @@ main (int argc,
{
{
"debug", 'd', 0, G_OPTION_ARG_INT, &debug_level,
- N_("Prints debug messages in the console (level between 1 and 5)"),
+ N_("Prints debug messages in the console (level between 1 and 8)"),
NULL
},
{
@@ -4816,7 +4816,7 @@ main (int argc,
#if PTRACING
if (debug_level != 0)
- PTrace::Initialise (PMAX (PMIN (5, debug_level), 0), NULL,
+ PTrace::Initialise (PMAX (PMIN (8, debug_level), 0), NULL,
PTrace::Timestamp | PTrace::Thread
| PTrace::Blocks | PTrace::DateAndTime);
#endif
@@ -4825,6 +4825,7 @@ main (int argc,
#ifdef EKIGA_REVISION
PTRACE(1, "Ekiga git revision: " << EKIGA_REVISION);
#endif
+ PTRACE(1, "Debug level: " << debug_level);
/* Ekiga initialisation */
// should come *after* ptrace initialisation, to track codec loading for ex.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]