Skip to content

Commit f41d8a5

Browse files
MasterPtatoNathanFlurry
authored andcommitted
chore: change log levels
1 parent f73435d commit f41d8a5

File tree

30 files changed

+92
-94
lines changed

30 files changed

+92
-94
lines changed

engine/packages/api-public/src/runner_configs/upsert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ async fn upsert_inner(
171171
)
172172
.await
173173
{
174-
tracing::warn!(?err, runner_name = ?path.runner_name, "failed to refresh runner config metadata");
174+
tracing::warn!(?err, runner_name=?path.runner_name, "failed to refresh runner config metadata");
175175
}
176176
} else {
177177
tracing::debug!("endpoint config unchanged, skipping metadata refresh");

engine/packages/cache-purge/src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ use universalpubsub::NextOutput;
55

66
#[tracing::instrument(skip_all)]
77
pub async fn start(config: rivet_config::Config, pools: rivet_pools::Pools) -> Result<()> {
8-
tracing::info!("starting cache purge subscriber service");
9-
108
// Subscribe to cache purge updates
119
let ups = pools.ups()?;
1210
let mut sub = ups.subscribe(CACHE_PURGE_TOPIC).await?;
1311

14-
tracing::info!(subject = ?CACHE_PURGE_TOPIC, "subscribed to cache purge updates");
12+
tracing::info!(subject=?CACHE_PURGE_TOPIC, "subscribed to cache purge updates");
1513

1614
// Get cache instance
1715
let cache = rivet_cache::CacheInner::from_env(&config, pools)?;
@@ -42,7 +40,5 @@ pub async fn start(config: rivet_config::Config, pools: rivet_pools::Pools) -> R
4240
}
4341
}
4442

45-
tracing::warn!("cache purge subscriber service stopped");
46-
4743
Ok(())
4844
}

engine/packages/engine/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async fn main_inner() -> Result<()> {
2525

2626
// Load config
2727
let config = rivet_config::Config::load(&cli.config).await?;
28-
tracing::info!(config = ?*config, "loaded config");
28+
tracing::info!(config=?*config, "loaded config");
2929

3030
// Initialize telemetry (does nothing if telemetry is disabled)
3131
let _guard = rivet_telemetry::init(&config);

engine/packages/epoxy/src/http_client.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ where
5757
)
5858
.collect::<FuturesUnordered<_>>()
5959
.await;
60-
tracing::info!(?quorum_size, len = ?responses.len(), ?quorum_type, "fanout quorum size");
60+
tracing::debug!(?quorum_size, len = ?responses.len(), ?quorum_type, "fanout quorum size");
6161

6262
// Choose how many successful responses we need before considering a success
6363
let target_responses = match quorum_type {
@@ -115,7 +115,7 @@ pub async fn send_message_to_address(
115115
let to_replica_id = request.to_replica_id;
116116

117117
if from_replica_id == to_replica_id {
118-
tracing::info!(
118+
tracing::debug!(
119119
to_replica = to_replica_id,
120120
"sending message to replica directly"
121121
);
@@ -126,7 +126,7 @@ pub async fn send_message_to_address(
126126
let mut replica_url = url::Url::parse(&replica_url)?;
127127
replica_url.set_path(&format!("/v{PROTOCOL_VERSION}/epoxy/message"));
128128

129-
tracing::info!(
129+
tracing::debug!(
130130
to_replica = to_replica_id,
131131
%replica_url,
132132
"sending message to replica via http"
@@ -183,7 +183,7 @@ pub async fn send_message_to_address(
183183
let body = response.bytes().await?;
184184
let response_body = versioned::Response::deserialize(&body)?;
185185

186-
tracing::info!(
186+
tracing::debug!(
187187
to_replica = to_replica_id,
188188
"successfully sent message via http"
189189
);

engine/packages/epoxy/src/ops/explicit_prepare.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub async fn epoxy_explicit_prepare(
2828
let replica_id = ctx.config().epoxy_replica_id();
2929
let instance = &input.instance;
3030

31-
tracing::info!(
31+
tracing::debug!(
3232
?instance,
3333
"starting explicit prepare for potentially failed replica"
3434
);
@@ -317,7 +317,7 @@ async fn restart_phase1(
317317
commands: commands.unwrap_or_else(|| vec![]), // Empty vec for no-op
318318
};
319319

320-
tracing::info!(
320+
tracing::debug!(
321321
?instance,
322322
commands_count = proposal.commands.len(),
323323
"restarting phase1 with propose operation"

engine/packages/epoxy/src/replica/decide_path.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub fn decide_path(
99
pre_accept_oks: Vec<protocol::Payload>,
1010
payload: &protocol::Payload,
1111
) -> Result<protocol::Path> {
12-
tracing::info!(instance=?payload.instance, "deciding path");
12+
tracing::debug!(instance=?payload.instance, "deciding path");
1313

1414
let mut new_payload = payload.clone();
1515
let mut path = protocol::Path::PathFast(protocol::PathFast {
@@ -29,7 +29,7 @@ pub fn decide_path(
2929
// EPaxos Steps 11 (returns PathFast)
3030
continue;
3131
} else {
32-
tracing::info!(?pre_accept_ok.deps, "received dissenting voice");
32+
tracing::debug!(?pre_accept_ok.deps, "received dissenting voice");
3333

3434
// EPaxos Step 13
3535
let new_deps = utils::union_deps(new_payload.deps, pre_accept_ok.deps);

engine/packages/epoxy/src/replica/lead_consensus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub async fn lead_consensus(
1212
replica_id: protocol::ReplicaId,
1313
proposal: protocol::Proposal,
1414
) -> Result<protocol::Payload> {
15-
tracing::info!(?replica_id, "leading consensus");
15+
tracing::debug!(?replica_id, "leading consensus");
1616

1717
// EPaxos Step 1
1818
let instance_num_key = keys::replica::InstanceNumberKey;

engine/packages/epoxy/src/replica/message_request.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub async fn message_request(
1414

1515
let kind = match request.kind {
1616
protocol::RequestKind::UpdateConfigRequest(req) => {
17-
tracing::info!(
17+
tracing::debug!(
1818
epoch = ?req.config.epoch,
1919
replica_count = req.config.replicas.len(),
2020
"received configuration update request"
@@ -103,7 +103,7 @@ pub async fn message_request(
103103
}
104104
protocol::RequestKind::CoordinatorUpdateReplicaStatusRequest(req) => {
105105
// Send signal to coordinator workflow
106-
tracing::info!(
106+
tracing::debug!(
107107
?current_replica_id,
108108
update_replica_id=?req.replica_id,
109109
update_status=?req.status,
@@ -124,7 +124,7 @@ pub async fn message_request(
124124
}
125125
protocol::RequestKind::BeginLearningRequest(req) => {
126126
// Send signal to replica workflow
127-
tracing::info!(?current_replica_id, "received begin learning request");
127+
tracing::debug!(?current_replica_id, "received begin learning request");
128128

129129
ctx.signal(crate::workflows::replica::BeginLearning {
130130
config: req.config.clone().into(),

engine/packages/epoxy/src/replica/messages/accept.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub async fn accept(
1717
instance,
1818
} = accept_req.payload;
1919

20-
tracing::info!(?replica_id, ?instance, "handling accept message");
20+
tracing::debug!(?replica_id, ?instance, "handling accept message");
2121

2222
// Validate ballot
2323
let current_ballot = ballot::get_ballot(tx, replica_id).await?;

engine/packages/epoxy/src/replica/messages/accepted.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub async fn accepted(
1818
instance,
1919
} = payload;
2020

21-
tracing::info!(?replica_id, ?instance, "handling accepted message");
21+
tracing::debug!(?replica_id, ?instance, "handling accepted message");
2222

2323
// Create accepted log entry
2424
let current_ballot = ballot::get_ballot(tx, replica_id).await?;

0 commit comments

Comments
 (0)