mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 15:27:00 +02:00
Raise some log messages.
We should be able to follow the progress more easily at the log level NOTICE, so raise some log messages from INFO to NOTICE.
This commit is contained in:
parent
ed217b7b28
commit
b54ca576cb
@ -167,7 +167,7 @@
|
|||||||
:output nil
|
:output nil
|
||||||
:verbose t))
|
:verbose t))
|
||||||
(lp::invoke-transfer-error condition)))))
|
(lp::invoke-transfer-error condition)))))
|
||||||
(log-message :info "COPY ~s" table-name)
|
(log-message :notice "COPY ~s" table-name)
|
||||||
|
|
||||||
;; start a task to read data from the source into the queue
|
;; start a task to read data from the source into the queue
|
||||||
(lp:submit-task channel #'queue-raw-data copy rawqs)
|
(lp:submit-task channel #'queue-raw-data copy rawqs)
|
||||||
@ -193,5 +193,5 @@
|
|||||||
(log-message :debug "waiting for ~d tasks" (task-count concurrency))
|
(log-message :debug "waiting for ~d tasks" (task-count concurrency))
|
||||||
(loop :repeat (task-count concurrency)
|
(loop :repeat (task-count concurrency)
|
||||||
:do (lp:receive-result channel))
|
:do (lp:receive-result channel))
|
||||||
(log-message :info "COPY ~s done." table-name)
|
(log-message :notice "COPY ~s done." table-name)
|
||||||
(unless k-s-p (lp:end-kernel :wait t)))))))
|
(unless k-s-p (lp:end-kernel :wait t)))))))
|
||||||
|
Loading…
Reference in New Issue
Block a user