Search code examples
linuxbashlogginglftp

Logging location of lftp


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.


Solution

  • I don't know the answer to the first and second question, but for the third question:

    set xfer:log-file "/path/to/your/file.log"