Skip to content

Commit

Permalink
log: Add opendal info logs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed May 14, 2024
1 parent 7101761 commit 13a1dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ extern crate pretty_env_logger;
#[macro_use]
extern crate log;

const DEFAULT_DEBUG_LOG_LEVEL: &str = "toshokan=trace";
const DEFAULT_RELEASE_LOG_LEVEL: &str = "toshokan=info";
const DEFAULT_DEBUG_LOG_LEVEL: &str = "toshokan=trace,opendal::services=info";
const DEFAULT_RELEASE_LOG_LEVEL: &str = "toshokan=info,opendal::services=info";

async fn index(args: IndexArgs) -> Result<()> {
let mut schema_builder = Schema::builder();
Expand Down

0 comments on commit 13a1dec

Please sign in to comment.