Switch safekeeper from log to tracing logging.

Add context to wal acceptor and wal sender threads showing timeline id and
unique id differentiating them.
This commit is contained in:
Arseny Sher
2021-12-06 14:52:50 +03:00
parent 6094236171
commit 37c85d5fd9
11 changed files with 26 additions and 11 deletions

View File

@@ -9,8 +9,8 @@
use anyhow::{anyhow, Result};
use bytes::{BufMut, Bytes, BytesMut};
use crc32c::crc32c_append;
use log::*;
use serde::{Deserialize, Serialize};
use tracing::*;
use crate::safekeeper::{AcceptorProposerMessage, AppendResponse};
use crate::safekeeper::{