Skip to content

Commit e8dc499

Browse files
committed
test logging
1 parent 701d54c commit e8dc499

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ tokio-tungstenite = { version = "0.26.2", features = ["native-tls", "url"] }
5757
http = "1.3.1"
5858
url = { version = "2.5.4", features = ["serde"] }
5959
pyth-lazer-publisher-sdk = "0.1.5"
60+
hex = "0.4.3"
6061

6162
[dev-dependencies]
6263
tempfile = "3.20.0"

src/agent/metrics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ impl ProductGlobalMetrics {
119119
let symbol_string = maybe_symbol
120120
.map(|x| x.into())
121121
.unwrap_or(format!("unknown_{}", product_key));
122+
tracing::info!("pythnet symbol: {} pubkey: {} hex: {}", symbol_string, product_key, hex::encode(product_key));
122123

123124
#[deny(unused_variables)]
124125
let Self { update_count } = self;

0 commit comments

Comments
 (0)