switch to debug from info to produce less noise

This commit is contained in:
Dmitry Rodionov
2022-12-28 17:48:49 +02:00
committed by Dmitry Rodionov
parent 42c6ddef8e
commit bd7a9e6274
2 changed files with 5 additions and 5 deletions

View File

@@ -214,7 +214,7 @@ use anyhow::ensure;
use remote_storage::{DownloadError, GenericRemoteStorage};
use std::ops::DerefMut;
use tokio::runtime::Runtime;
use tracing::{info, warn};
use tracing::{debug, info, warn};
use tracing::{info_span, Instrument};
use utils::lsn::Lsn;
@@ -675,7 +675,7 @@ impl RemoteTimelineClient {
// We can launch this task. Remove it from the queue first.
let next_op = upload_queue.queued_operations.pop_front().unwrap();
info!("starting op: {}", next_op);
debug!("starting op: {}", next_op);
// Update the counters
match next_op {
@@ -867,7 +867,7 @@ impl RemoteTimelineClient {
task.op, retries
);
} else {
info!("remote task {} completed successfully", task.op);
debug!("remote task {} completed successfully", task.op);
}
// The task has completed succesfully. Remove it from the in-progress list.

View File

@@ -2593,7 +2593,7 @@ impl Timeline {
// See storage_sync module level comment on consistency.
// Do it here because we don't want to hold self.layers.write() while waiting.
if let Some(remote_client) = &self.remote_client {
info!("waiting for upload ops to complete");
debug!("waiting for upload ops to complete");
remote_client
.wait_completion()
.await
@@ -2807,7 +2807,7 @@ impl Timeline {
// See storage_sync module level comment on consistency.
// Do it here because we don't want to hold self.layers.write() while waiting.
if let Some(remote_client) = &self.remote_client {
info!("waiting for upload ops to complete");
debug!("waiting for upload ops to complete");
remote_client
.wait_completion()
.await