mirror of
https://github.com/katanemo/plano.git
synced 2026-05-08 15:22:43 +02:00
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:
parent
f819ee3507
commit
83f4d33434
3 changed files with 49 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue