diff default_options.h @ 1891:40f8468ad4d4

Allow for DEBUG_TRACE value 0 - 5
author HansH111 <hans@atbas.org>
date Sat, 19 Mar 2022 08:54:25 +0000
parents 2b3a8026a6ce
children 13cb8cc1b0e4
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