File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -559,11 +559,7 @@ impl ManageConnection for ServerPool {
559
559
560
560
/// Attempts to create a new connection.
561
561
async fn connect ( & self ) -> Result < Self :: Connection , Self :: Error > {
562
- info ! (
563
- "Creating a new connection to {:?} using user {:?}" ,
564
- self . address. name( ) ,
565
- self . user. username
566
- ) ;
562
+ info ! ( "Creating a new server connection {:?}" , self . address) ;
567
563
568
564
// Put a temporary process_id into the stats
569
565
// for server login.
Original file line number Diff line number Diff line change @@ -607,7 +607,8 @@ impl Drop for Server {
607
607
let duration = now - self . connected_at ;
608
608
609
609
info ! (
610
- "Server connection closed, session duration: {}" ,
610
+ "Server connection closed {:?}, session duration: {}" ,
611
+ self . address,
611
612
crate :: format_duration( & duration)
612
613
) ;
613
614
}
You can’t perform that action at this time.
0 commit comments