mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-11 08:46:59 +02:00
Ensure that the configured log directory do exists before opening the logfile in there.
This commit is contained in:
parent
dfd35ba9da
commit
06bbc8cdda
@ -19,6 +19,7 @@
|
||||
(make-instance 'log-manager :message-class 'formatted-message))
|
||||
|
||||
;; And a messenger to store our message into
|
||||
(ensure-directories-exist (directory-namestring *log-filename*))
|
||||
(start-messenger 'text-file-messenger :filename *log-filename*)
|
||||
|
||||
;; Announce what just happened
|
||||
|
Loading…
Reference in New Issue
Block a user