[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pureftpd-list
Subject:    RE: [pure-ftpd] Redirecting messages that pure-ftp writes on /var/log/messages to custom log file (p
From:       "Paul Pantazis" <ppantazis () entertainmentpartners ! com>
Date:       2007-08-08 4:19:40
Message-ID: B0600105C044524085CAEA1222A31A560470EE29 () CSPXCHV1 ! ep ! corp
[Download RAW message or body]

Matt and Pure-ftp community, thanks for the response. This is exactly
what I was looking for. I was going to start a new thread on this but
maybe I can ask this question here (save all some extra e-mails). I need
to obtain some "trending" of ftp server load in terms of number of users
logged in at different time during a typical workday. Does pure FTP
allow you to do anything along these lines (high-low-average user load)
or do I need to look at alternative methods?

Thanks. 

-----Original Message-----
From: Matt [mailto:mlist@cmcflex.com] 
Sent: Monday, August 06, 2007 12:08 PM
To: list@pureftpd.org
Subject: Re: [pure-ftpd] Redirecting messages that pure-ftp writes on
/var/log/messages to custom log file

Paul Pantazis wrote:
>  
> All, does anyone know how to redirect messages written by pure-ftp 
> under /var/log/messages to a custom log file elsewhere?
> This particular box is SLES 10.
>
> Thanks!
>
>
>   

SLES 10 uses syslog-ng.  Here's what I have in my syslog-ng.conf file.

filter f_ftp        { level(notice, info, warn, err, crit) and 
facility(ftp); };
destination ftp { file("/var/log/ftp"); }; log { source(src);
filter(f_ftp); destination(ftp); };

This will filter out the appropriate levels of ftp and put them in
/var/log/ftp

Matt



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic