mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Fix the log-filename when operating from the command line.
This commit is contained in:
parent
6ccb1871f5
commit
aa49e8eec2
@ -137,7 +137,7 @@
|
||||
;; Now process the arguments
|
||||
(when arguments
|
||||
;; Start the logs system
|
||||
(let ((*logfile* (log-file-name logfile))
|
||||
(let ((*log-filename* (log-file-name logfile))
|
||||
(*log-min-messages*
|
||||
(log-threshold log-min-messages
|
||||
:quiet quiet :verbose verbose :debug debug))
|
||||
@ -147,7 +147,7 @@
|
||||
|
||||
(with-monitor ()
|
||||
;; tell the user where to look for interesting things
|
||||
(log-message :log "Main logs in '~a'" *logfile*)
|
||||
(log-message :log "Main logs in '~a'" *log-filename*)
|
||||
(log-message :log "Data errors in '~a'~%" *root-dir*)
|
||||
|
||||
;; process the files
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user