diff --git a/backend/src/main.rs b/backend/src/main.rs index 88fec8412d..bc597e0ba7 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -675,17 +675,18 @@ pub async fn run_workers( db: &Pool, - worker_instance: &str, + hostname: &str, worker_name: String, i_worker: u64, _num_workers: u32, @@ -735,7 +735,7 @@ pub async fn run_worker( job: Arc, db: &DB, client: &AuthedClientBackgroundTask, + hostname: &str, worker_name: &str, worker_dir: &str, job_dir: &str, @@ -2870,8 +2872,8 @@ async fn handle_queued_job( // println!("handle queue {:?}", SystemTime::now()); logs.push_str(&format!( - "job {} on worker {} (tag: {})\n", - &job.id, &worker_name, &job.tag + "job={} tag={} worker={} hostname={}\n", + &job.id, &job.tag, &worker_name, &hostname )); if *NO_LOGS_AT_ALL {