ftp-proxy LogDestination file issue
by Neeraj0019 from LinuxQuestions.org on (#5K28V)
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?
Br,
Neeraj
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?
Br,
Neeraj