The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
  3. coldplug

    coldplug Member

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

Share This Page