mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
Log Address information in connection create/drop (#154)
* Log Address information in connection create/drop * run ci
This commit is contained in:
committed by
GitHub
parent
65b69b46d2
commit
36339bd96f
@@ -559,11 +559,7 @@ impl ManageConnection for ServerPool {
|
||||
|
||||
/// Attempts to create a new connection.
|
||||
async fn connect(&self) -> Result<Self::Connection, Self::Error> {
|
||||
info!(
|
||||
"Creating a new connection to {:?} using user {:?}",
|
||||
self.address.name(),
|
||||
self.user.username
|
||||
);
|
||||
info!("Creating a new server connection {:?}", self.address);
|
||||
|
||||
// Put a temporary process_id into the stats
|
||||
// for server login.
|
||||
|
||||
Reference in New Issue
Block a user