Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(flows): use tracing for boot sweep log

Steven Enamakelb980fde9b9bb
diff --git a/crates/openhuman-core/src/flows/ops/run_management.rs b/crates/openhuman-core/src/flows/ops/run_management.rs
index 77fb425d3c..9c8a37592b 100644
--- a/crates/openhuman-core/src/flows/ops/run_management.rs
+++ b/crates/openhuman-core/src/flows/ops/run_management.rs
@@ -278,7 +278,7 @@ pub async fn sweep_orphaned_running_runs_on_boot(config: &Config) -> usize {
// sweeping it would drop that run's checkpoint — so the agent scopes are
// left alone there, as the agent run reaper does.
if crate::storage::installed_is_shared() && !crate::core::runtime::mode::is_saas() {
- log::info!("[flows] boot sweep: agent scopes skipped, the storage backend is shared");
+ tracing::info!(target: "flows", "[flows] boot sweep: agent scopes skipped, the storage backend is shared");
return sweep_orphaned_running_runs_in_scope(config).await;
}
crate::storage::agents::for_each_scope("flows boot sweep", || {