mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Improve logging again.
The user experience is greatly enhanced by this little change, where you know from the logs that pgloader could actually connect rather than thinking it might be still trying...
This commit is contained in:
parent
ba44e9786d
commit
3a6120b931
@ -80,7 +80,7 @@
|
||||
`(let (#+unix (cl-postgres::*unix-socket-dir* (get-unix-socket-dir ,pgconn)))
|
||||
(with-connection (conn ,pgconn)
|
||||
(let ((pomo:*database* (conn-handle conn)))
|
||||
(log-message :debug "CONNECT ~s" conn)
|
||||
(log-message :debug "CONNECTED TO ~s" conn)
|
||||
(set-session-gucs *pg-settings*)
|
||||
(handling-pgsql-notices
|
||||
,@forms)))))
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
:username (db-user myconn)
|
||||
:password (db-pass myconn)
|
||||
:database (db-name myconn))))
|
||||
(log-message :debug "CONNECT ~a" myconn)
|
||||
(log-message :debug "CONNECTED TO ~a" myconn)
|
||||
;; return the connection object
|
||||
myconn)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user