While using lftp, it will log the file transfer to the ~/.lftp/transfer_log when xfer:log setting is set to "yes".
What will happen when there are two instances of lftp running at the same time? Will the log file be mixed up?
Is there a way to change where the log file will be write to?
Thanks.
When multiple instances of lftp write to the same log file it can be mixed up (as current lftp 4.7.1 does not use file locking for the log file). At best the lines will be interleaved.
The setting xfer:log-file appeared in lftp version 4.2.0.