We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f55f30c + 3a4bfce commit f815cbdCopy full SHA for f815cbd
1 file changed
src/borgstore/backends/rclone.py
@@ -31,7 +31,8 @@
31
RCLONE = os.environ.get("RCLONE_BINARY", "rclone")
32
33
# Debug HTTP requests and responses
34
-if False:
+RCLONE_DEBUG = os.environ.get("BORGSTORE_RCLONE_DEBUG", "0")
35
+if RCLONE_DEBUG.strip().lower() in ("1", "true", "yes", "y", "on"):
36
import logging
37
import http.client as http_client
38
0 commit comments