Skip to content

Add dynamic logging capabilities based on env vars#312

Merged
ColtonWilley merged 1 commit intowolfSSL:masterfrom
padelsbach:wp-logging-env
Oct 20, 2025
Merged

Add dynamic logging capabilities based on env vars#312
ColtonWilley merged 1 commit intowolfSSL:masterfrom
padelsbach:wp-logging-env

Conversation

@padelsbach
Copy link
Contributor

Examples:

$ WOLFPROV_LOG_LEVEL='(WP_LOG_ERROR | WP_LOG_INFO)' WOLFPROV_LOG_COMPONENTS='(WP_LOG_RSA | WP_LOG_PROVIDER)' openssl list -providers
Setting WOLFPROV_LOG_LEVEL to 0x9
Setting WOLFPROV_LOG_COMPONENTS to 0x81
[wolfSSL]: RNG_HEALTH_TEST_CHECK_SIZE = 128
[wolfSSL]: sizeof(seedB_data)         = 128
Providers:
  default
    name: wolfSSL Provider
    version: 1.0.2
    status: active
WOLFPROV_LOG_LEVEL='(WP_LOG_LEVEL_ALL)' WOLFPROV_LOG_COMPONENTS='(WP_LOG_RSA | WP_LOG_PROVIDER)' openssl list -providers
Setting WOLFPROV_LOG_LEVEL to 0x7F
Setting WOLFPROV_LOG_COMPONENTS to 0x81
[wolfSSL]: RNG_HEALTH_TEST_CHECK_SIZE = 128
[wolfSSL]: sizeof(seedB_data)         = 128
wolfProv Leaving src/wp_wolfprov.c:1335, return 1 (wolfssl_provider_init)
Providers:
  default
wolfProv Leaving src/wp_wolfprov.c:90, return 1 (wolfssl_prov_is_running)
wolfProv Leaving src/wp_wolfprov.c:356, return 1 (wolfprov_get_params)
    name: wolfSSL Provider
    version: 1.0.2
    status: active

@padelsbach padelsbach marked this pull request as ready for review October 17, 2025 17:18
@padelsbach
Copy link
Contributor Author

jenkins retest please

@ColtonWilley
Copy link
Contributor

Retest this please.

@ColtonWilley ColtonWilley merged commit 6c8f010 into wolfSSL:master Oct 20, 2025
217 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants