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!

ftp logs too big. start with a fresh log? can it be split at certain size?

Discussion in 'General Discussion' started by Gosa, Mar 30, 2012.

  1. Gosa

    Gosa Member

    Joined:
    Jun 28, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    In the following location /usr/local/apache/domlogs/ACCOUNT_NAME I can see 3 files:
    1. ftp.mydomain.com-ftp_log
    2. mydomain.com
    3. sub.mydomain.com

    (I changed the names of the domain into mydomain)

    The ftp log is over 2GB.
    I'd like to start fresh with a new log file.
    1) Can I just rename the file. Will then a new file be created automatically?
    2a) Can I set how big the ftp log file can be and let it split when it reaches the specified size? For example every 50 MB start a new file. So it will become something like this
    ftp.mydomain.com-ftp_log1
    ftp.mydomain.com-ftp_log2
    ftp.mydomain.com-ftp_log3
    ftp.mydomain.com-ftp_log4
    and so on.
    2b) Or one ftp log per day. that way I can go to a file of a specific day to analyse it.


    Thanks in advance.

    Regards,

    Gosa
     
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