Skip to content

Commit 8009824

Browse files
committed
chore: Now worker logs contexts at startup only if present
1 parent b8ba25e commit 8009824

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

crates/fluxqueue-worker/src/logger.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ pub fn initial_logs(
4242
info!("Redis: {}", redis_url);
4343
info!("Tasks module: {}", tasks_module_path);
4444
info!("Tasks found: {:?}", tasks);
45-
info!("Contexts found: {:?}", contexts);
45+
if contexts.len() > 0 {
46+
info!("Contexts found: {:?}", contexts);
47+
}
4648
info!("Starting up the executors...");
4749
}
4850

0 commit comments

Comments
 (0)