From ee21d893649888c2909be0edc970d62f12ae5dfe Mon Sep 17 00:00:00 2001 From: melkor Date: Fri, 26 Aug 2022 21:46:20 -0700 Subject: [PATCH] increase log severity --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2759746..e7ad326 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,7 @@ use std::{ }; use clap::{Arg, ArgAction, Command}; -use log::{error, info, debug, LevelFilter}; +use log::{error, warn, info, debug, LevelFilter}; use peekread::{BufPeekReader, PeekRead}; use serde::{Deserialize, Serialize}; use xxhash_rust::xxh3::Xxh3; @@ -294,7 +294,7 @@ fn detect_format(buf: &mut BufPeekReader, opts: &Opts) -> Result(buf: R, opts: &Opts) -> Result<(Game, Option), Box> { let no_verify_reason = no_verify_reason(opts); if let Some(ref reason) = no_verify_reason { - info!("Skipping round-trip verification ({})", reason); + warn!("Skipping round-trip verification ({})", reason); }; let mut buf = HashReader::new(buf, no_verify_reason.is_none());