Convert all INFO logs to DEBUG to reduce CLI noise
Converted ~77 info! macro calls to debug! across the codebase to prevent log messages from interrupting the CLI experience during normal operation. Users can still see these logs by setting RUST_LOG=debug if needed. Affected crates: - g3-cli - g3-computer-control - g3-console - g3-core - g3-ensembles - g3-execution - g3-providers
This commit is contained in:
@@ -16,7 +16,7 @@ use std::sync::Arc;
|
||||
use tokio::sync::Mutex;
|
||||
use tower_http::cors::CorsLayer;
|
||||
use tower_http::services::ServeDir;
|
||||
use tracing::{info, Level};
|
||||
use tracing::Level;
|
||||
use tracing_subscriber;
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
@@ -84,12 +84,12 @@ async fn main() -> anyhow::Result<()> {
|
||||
.layer(CorsLayer::permissive());
|
||||
|
||||
let addr = format!("{}:{}", args.host, args.port);
|
||||
info!("Starting g3-console on http://{}", addr);
|
||||
debug!("Starting g3-console on http://{}", addr);
|
||||
|
||||
// Auto-open browser if requested
|
||||
if args.open {
|
||||
let url = format!("http://{}", addr);
|
||||
info!("Opening browser to {}", url);
|
||||
debug!("Opening browser to {}", url);
|
||||
let _ = open::that(&url);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user