summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHansH111 <hans@atbas.org>2022-03-19 08:54:25 +0000
committerHansH111 <hans@atbas.org>2022-03-19 08:54:25 +0000
commitf1e0537e1c8103da62f9fc44bff7690625b78729 (patch)
tree1e11eb233b2bf3e364c1bd55ae503d3125963993
parent82a9fa650ece0399485a584b1f8111b7cca2ed46 (diff)
downloaddropbear-f1e0537e1c8103da62f9fc44bff7690625b78729.tar.gz
Allow for DEBUG_TRACE value 0 - 5
-rw-r--r--default_options.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/default_options.h b/default_options.h
index aa9df78..d37b1d8 100644
--- a/default_options.h
+++ b/default_options.h
@@ -44,8 +44,11 @@ IMPORTANT: Some options will require "make clean" after changes */
This option is ignored on non-Linux platforms at present */
#define DROPBEAR_REEXEC 1
-/* Include verbose debug output, enabled with -v at runtime.
- * This will add a reasonable amount to your executable size. */
+/* Include verbose debug output, enabled with -v at runtime (repeat to increase).
+ * define which level of debug output you compile in
+ * TRACE1 - TRACE3 = approx 4 Kb (connection, remote identity, algos, auth type info)
+ * TRACE4 = approx 17 Kb (detailed before connection)
+ * TRACE5 = approx 8 Kb (detailed after connection) */
#define DEBUG_TRACE 0
/* Set this if you want to use the DROPBEAR_SMALL_CODE option. This can save