Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2848524
D5123.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D5123.diff
View Options
diff --git a/services/backup/blob_client/Cargo.lock b/services/backup/blob_client/Cargo.lock
--- a/services/backup/blob_client/Cargo.lock
+++ b/services/backup/blob_client/Cargo.lock
@@ -49,6 +49,17 @@
"syn",
]
+[[package]]
+name = "atty"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+dependencies = [
+ "hermit-abi",
+ "libc",
+ "winapi",
+]
+
[[package]]
name = "autocfg"
version = "1.1.0"
@@ -118,8 +129,10 @@
"async-stream",
"cxx",
"cxx-build",
+ "env_logger",
"lazy_static",
"libc",
+ "log",
"prost",
"regex",
"tokio",
@@ -207,6 +220,19 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
+[[package]]
+name = "env_logger"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
+dependencies = [
+ "atty",
+ "humantime",
+ "log",
+ "regex",
+ "termcolor",
+]
+
[[package]]
name = "fastrand"
version = "1.8.0"
@@ -358,6 +384,12 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
+[[package]]
+name = "humantime"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+
[[package]]
name = "hyper"
version = "0.14.20"
diff --git a/services/backup/blob_client/Cargo.toml b/services/backup/blob_client/Cargo.toml
--- a/services/backup/blob_client/Cargo.toml
+++ b/services/backup/blob_client/Cargo.toml
@@ -5,10 +5,12 @@
[dependencies]
cxx = "1.0"
+env_logger = "0.9"
tokio = { version = "1.20", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1"
lazy_static = "1.4"
libc = "0.2"
+log = "0.4"
tonic = "0.8"
prost = "0.11"
tracing = "0.1"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 1, 5:22 AM (21 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2209827
Default Alt Text
D5123.diff (1 KB)
Attached To
Mode
D5123: [Backup] Add logging to blob_client
Attached
Detach File
Event Timeline
Log In to Comment