Skip to main content

SDK Logging

Each Files.com SDK integrates with the standard logging framework of its language environment. Log verbosity is controlled through log levels, with higher levels emitting more detail.

At the debug level, the SDK and its underlying HTTP client libraries emit full diagnostic output, including request and response headers, payloads, and URLs. Debug logging behaves similarly to curl --verbose: it captures all transport data broadly and without redaction.

Debug logging may expose sensitive material. Because it captures raw HTTP request and response bodies, API keys, remote server credentials, GPG keys, and other secrets present in those payloads appear in the logs in plain text. Only enable debug logging in controlled environments where that exposure is acceptable, and disable it before moving to production or sharing logs outside that environment.