Quote:
Originally Posted by Neeraj0019
Hi,
I have one ftp-proxy integrated within one service and after every file upload/download service kills the ftp-proxy server and starts it again. I have used "LogDestinationFile" as ["LogDestination"] = "/var/log/ftp-proxy.log"
I see that first time when ftp-proxy runs it creates the log file with name "ftp-proxy.log" and write logs to it which is perfect, but on subsequent runs it keeps creating new files with timestamp appended to it like below.
ftp-proxy.log.20210614-211837
ftp-proxy.log.20210614-212733
Any idea why this happens and how to avoid multiple files getting generated?
|
Not really, since you have provided us with no details. We don't know what FTP server you're using, what the 'one service' you're talking about is, or even the version/distro of Linux. Read the "Question Guidelines" link in my posting signature.
Past all that is WHY you'd use FTP in 2021, versus using SFTP/SCP.