#2524 SFCB enable curl debug via env variable

sfcb (1090)
Dave Heller

SFCB uses libcurl as its HTTP client for sending indications. Enabling curl debugging (i.e. CURLOPT_VERBOSE) is useful for troubleshooting. This patch enables activation via the CURLDEBUG environment variable, so a rebuild is no longer necessary.

Note: curl does output "CURL error" messages by default. You need to enable CURLOPT_VERBOSE only if you wish to see informational messages as well.

Note also: all curl debug output goes to stderr by default. It is possible to redirect output to a different stream by setting CURLOPT_STDERR (in the code), but this is not currently enabled in SFCB. You must run SFCB in the foreground, or otherwise capture stderr, to see the debug messages.

To enable curl debugging, set CURLDEBUG to any value but "false"
To disable curl debugging, set CURLDEBUG to "false" or unset CURLDEBUG

FYI: the behavior of CURLDEBUG is now consistent with wbemcli.


  • Dave Heller

    Dave Heller - 2012-08-29

    Committed to CVS HEAD and git master

  • Dave Heller

    Dave Heller - 2012-08-29
    • status: open --> pending-fixed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks