Displaying 2 results from an estimated 2 matches for "debug_scary_things".
2010 Sep 20
0
No subject
...OCOL =3D 3, /* Show the requests that are sent/received */
- DEBUG_META =3D 4, /* Show contents of every request that is =
sent/received */
- DEBUG_TRAFFIC =3D 5, /* Show network traffic information */
- DEBUG_PACKET =3D 6, /* Show contents of each packet that is being =
sent/received */
- DEBUG_SCARY_THINGS =3D 10 /* You have been warned */
+ DEBUG_PROTOCOL =3D 4, /* Show the requests that are sent/received */
+ DEBUG_META =3D 8, /* Show contents of every request that is =
sent/received */
+ DEBUG_TRAFFIC =3D 16, /* Show network traffic information */
+ DEBUG_PACKET =3D 32, /* Show contents...
2010 Sep 20
0
No subject
...saved_debug_level =3D -1;
} else {
logger(LOG_NOTICE,
- "Temporarily setting debug level to 5. Kill me with SIGINT again to =
go back to level %d.",
- debug_level);
+ "Temporarily setting debug level to %d. Kill me with SIGINT again =
to go back to level %d.",
+ DEBUG_SCARY_THINGS, debug_level);
saved_debug_level =3D debug_level;
- debug_level =3D 5;
+ debug_level =3D DEBUG_SCARY_THINGS;
}
}
=20
diff --git a/src/protocol.h b/src/protocol.h
index 2aed26d..251e847 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -25,7 +25,7 @@
incompatible version have different...