This script is used to monitor ProFTPD log and to react at certain events (deletion of the ftp.settings.LOCK_FILENAME).
It is also used at API level in edeposit.amqp (see process_log()).
Process the extended ProFTPD log.
Parameters: | file_iterator (file) – any file-like iterator for reading the log or stdin (see :funkc:`_read_stdin`). |
---|---|
Yields: | ImportRequest – with each import. |