fix oversized tracing span arguments; lints

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-11-27 04:48:40 +00:00
parent e83fa12451
commit 527494a34b
3 changed files with 10 additions and 7 deletions

View file

@ -296,7 +296,7 @@ pub(crate) fn repair(db_opts: &Options, path: &PathBuf) -> Result<()> {
Ok(())
}
#[tracing::instrument(skip_all, name = "rocksdb")]
#[tracing::instrument(skip_all, name = "rocksdb", level = "debug")]
pub(crate) fn handle_log(level: LogLevel, msg: &str) {
let msg = msg.trim();
if msg.starts_with("Options") {