Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to disable FTP logs

Discussion in 'General Discussion' started by coldplug, Nov 1, 2010.

  1. coldplug

    coldplug Member

    Joined:
    Oct 26, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Hello.

    I have very specific webserver that receives very large number of small ftp connections uploading small amount of data very frequently from various locations. That creates huge amount of logging in domlogs. I really don't need that feature and I'm looking how to disable logging. I use pure-ftpd.

    Thanks for any help.
    Ivan
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    In /etc/pure-ftpd.conf file, you have these two options:

    For the first, change to:

    Code:
    SyslogFacility disabled
    For the second, simply comment out the AltLog location, then restart pure-ftpd and it should hopefully cease logging.

    I have to state that you are better off not disabling the main log (that goes to /var/log/messages), and only remove the AltLog location. I state this as frankly, if an account were hacked via FTP, you are losing the ability to see what they did to the account.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. coldplug

    coldplug Member

    Joined:
    Oct 26, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Much thanks! :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice