You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Debug silent mode - logging compiled in but silent until env vars activate
77
+
AC_ARG_ENABLE([debug-silent],
78
+
[AS_HELP_STRING([--enable-debug-silent],[Debug logging compiled in but silent by default. Use WOLFPROV_LOG_LEVEL and WOLFPROV_LOG_COMPONENTS env vars to enable at runtime (default: disabled)])],
Copy file name to clipboardExpand all lines: scripts/build-wolfprovider.sh
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ show_help() {
27
27
echo" Note: Requires --replace-default. Only for test builds, not for production."
28
28
echo" --leave-silent Enable leave silent mode to suppress logging of return 0 in probing functions where expected failures may occur."
29
29
echo" Note: This only affects logging; the calling function is still responsible for handling all return values appropriately."
30
+
echo" --debug-silent Debug logging compiled in but silent by default. Use WOLFPROV_LOG_LEVEL and WOLFPROV_LOG_COMPONENTS env vars to enable at runtime. Requires --debug."
30
31
echo" --enable-seed-src Enable SEED-SRC entropy source with /dev/urandom caching for fork-safe entropy."
31
32
echo" Note: This also enables WC_RNG_SEED_CB in wolfSSL."
32
33
echo""
@@ -39,6 +40,7 @@ show_help() {
39
40
echo" WOLFPROV_CLEAN If set to 1, run make clean in OpenSSL, wolfSSL, and wolfProvider"
40
41
echo" WOLFPROV_DISTCLEAN If set to 1, remove the source and install directories of OpenSSL, wolfSSL, and wolfProvider"
41
42
echo" WOLFPROV_DEBUG If set to 1, builds OpenSSL, wolfSSL, and wolfProvider with debug options enabled"
43
+
echo" WOLFPROV_DEBUG_SILENT If set to 1, debug logging is silent by default (requires WOLFPROV_DEBUG=1)"
42
44
echo" WOLFPROV_LOG_FILE Path to log file for wolfProvider debug output (alternative to stderr)"
43
45
echo" WOLFPROV_QUICKTEST If set to 1, disables some tests in the test suite to increase test speed"
44
46
echo" WOLFPROV_DISABLE_ERR_TRACE If set to 1, wolfSSL will not be configured with --enable-debug-trace-errcodes=backtrace"
0 commit comments