Skip to content

Commit

Permalink
Correct log
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston committed Jan 16, 2025
1 parent 5db65bd commit 9972ea2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ pub mod util;
const MAX_MEMORY_ALLOCATION_SIZE_ENV_KEY: &str = "MAX_MEMORY_ALLOCATION_LIMIT_SIZE";

fn main() -> Result<()> {
info!(
"Riffle is built on the git commit hash: {}",
env!("GIT_COMMIT_HASH")
);

setup_max_memory_allocation();

let args_match = App::new("Riffle")
Expand All @@ -114,6 +109,11 @@ fn main() -> Result<()> {
#[cfg(feature = "logforth")]
let _guard = LogService::init(&config.log);

info!(
"Riffle is built on the git commit hash: {}",
env!("GIT_COMMIT_HASH")
);

init_global_variable(&config);

info!("The specified config show as follows: \n {:#?}", config);
Expand Down

0 comments on commit 9972ea2

Please sign in to comment.