LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2021, 12:37 PM   #1
Neeraj0019
LQ Newbie
 
Registered: Jun 2021
Posts: 5

Rep: Reputation: Disabled
Unhappy ftp-proxy LogDestination file issue


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
 
Old 06-15-2021, 08:22 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Neeraj0019 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proxy server that accepts PARENT PROXY as a SOCKS PROXY shadyabhi Linux - Server 1 08-10-2010 03:09 PM
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
Forwarding all traffic to the proxy to another proxy (transparent proxy/redirection) lakshithaww Linux - Networking 1 10-28-2009 12:54 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration