changeset 1891:40f8468ad4d4

Allow for DEBUG_TRACE value 0 - 5
author HansH111 <hans@atbas.org>
date Sat, 19 Mar 2022 08:54:25 +0000
parents a7b66ea18632
children 3442105b2aba
files default_options.h
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/default_options.h	Wed Mar 16 18:35:23 2022 +0800
+++ b/default_options.h	Sat Mar 19 08:54:25 2022 +0000
@@ -44,8 +44,11 @@
    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