Logfile in pgloader

Hi All,
I am loading a file using loader. I would like to get the log files and reject.dat/log files in my own user defined directory. The default location is /tmp/pgloader. I tried using the --logfile option. But the same does not seem to working. I am not getting any log file. Synopsis of the code is like
Load Csv
From …
Into…
With truncate
Fields escaped by “”,
–logfile to '/dir1/dir2/mylog.txt
Set …;
This script executes without errors, but I am not able to find that logfile.

Kindly help.