mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 08:57:54 +00:00
stop logging this in production
This commit is contained in:
1 parent
a0db62f0fd
commit
b49da80762
1 file changed
+2
-1
+2
-1
@@ -1,6 +1,7 @@
|
||||
use std::collections::HashSet;
|
||||
|
||||
use elasticsearch::{Elasticsearch, SearchParts};
|
||||
use log::debug;
|
||||
use once_cell::sync::Lazy;
|
||||
use serde_json::{json, Number, Value};
|
||||
|
||||
@@ -75,7 +76,7 @@ pub async fn search_model_weights(args: SearchArgs<'_>) -> AnyhowResult<Vec<Mode
|
||||
|
||||
let json_query = serde_json::to_string(&query)?;
|
||||
|
||||
println!("Query: {:#?}", json_query);
|
||||
debug!("ElasticSearch Query: {:#?}", json_query);
|
||||
|
||||
let search_response = args.client
|
||||
.search(SearchParts::Index(&[MODEL_WEIGHT_INDEX]))
|
||||
|
||||
Reference in new issue
Block a user