refactor logging in brightstaff (#532)

refactor logs, move unnecessary info log statements to debug and start logging latest chat completion message to log
This commit is contained in:
Adil Hafeez 2025-07-17 16:00:04 -07:00 committed by GitHub
parent f819ee3507
commit 83f4d33434
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 49 additions and 24 deletions

View file

@ -156,7 +156,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
});
tokio::task::spawn(async move {
info!("Accepted connection from {:?}", peer_addr);
debug!("Accepted connection from {:?}", peer_addr);
if let Err(err) = http1::Builder::new()
// .serve_connection(io, service_fn(chat_completion))
.serve_connection(io, service)