how do I control the size of the vsftpd log file? - Ubuntu

This is a discussion on how do I control the size of the vsftpd log file? - Ubuntu ; I just turned on verbose logging for our FTP daemon (vsftpd). We are saving the log to the default location: /var/log/vsftpd.log (When I say "verbose mode" I mean log_ftp_protocol is set to yes and xferlog_std_format is set to NO) How ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: how do I control the size of the vsftpd log file?

  1. how do I control the size of the vsftpd log file?


    I just turned on verbose logging for our FTP daemon (vsftpd). We are
    saving the log to the default location:

    /var/log/vsftpd.log

    (When I say "verbose mode" I mean log_ftp_protocol is set to yes and
    xferlog_std_format is set to NO)


    How do I control the size of this log? Does it just get bigger and
    bigger and bigger, or does vsftpd take care of managing its size, somehow?



  2. Re: how do I control the size of the vsftpd log file?

    In alt.os.linux.ubuntu Lawrence Krubner wrote:

    > I just turned on verbose logging for our FTP daemon (vsftpd). We are
    > saving the log to the default location:


    > /var/log/vsftpd.log


    > (When I say "verbose mode" I mean log_ftp_protocol is set to yes and
    > xferlog_std_format is set to NO)


    > How do I control the size of this log? Does it just get bigger and
    > bigger and bigger, or does vsftpd take care of managing its size, somehow?


    Have a look at logrotate.

    --
    Niklaus

+ Reply to Thread