Skip to content

Commit

Permalink
Merge pull request #202 from samply/feature/incisive-api
Browse files Browse the repository at this point in the history
more logs at trace level
  • Loading branch information
enola-dkfz authored Feb 5, 2025
2 parents e98f90c + 42fe577 commit 9e291ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/eucaim_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use reqwest::{
StatusCode,
Url
};
use tracing::{debug, error, warn};
use tracing::{debug, error, warn, trace};

use once_cell::sync::Lazy;
use std::collections::HashMap;
Expand Down Expand Up @@ -133,11 +133,9 @@ pub fn build_eucaim_api_query_url(base_url: Url, ast: ast::Ast) -> Result<String
}
}

dbg!(&parameters);

url += parameters.join("&").as_str();

dbg!(&url);
trace!("{}", &url);

Ok(url)
}
Expand Down
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ async fn process_task(
) -> Result<BeamResult, FocusError> {
debug!("Processing task {}", task.id);

trace!("{}", &task.body);

let metadata: Metadata = serde_json::from_value(task.metadata.clone()).unwrap_or(Metadata {
project: "default_obfuscation".to_string(),
task_type: None,
Expand Down

0 comments on commit 9e291ba

Please sign in to comment.