System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

[Share] Logging ftpd log to other than syslog.log

Cray
Frequent Advisor

[Share] Logging ftpd log to other than syslog.log

1. setup /etc/syslog.conf
mail.debug /var/adm/syslog/mail.log
local5.debug /var/adm/syslog/ftpd.log
*.info;ftpd.none;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *

2. restart syslogd

3. It works at least on 11.31:

#cd /var/adm/syslog
#ll
total 478880
-rw-r--r-- 1 root root 15634 Jul 28 14:39 OLDsyslog.log
-rw-r--r-- 1 root sys 598 Sep 4 11:06 ftpd.log
-r--r--r-- 1 root root 6307409 Sep 4 11:08 mail.log
-r--r--r-- 1 root sys 237363282 Jul 22 15:34 mail.log.gz
-rw-r--r-- 1 root root 514448 Sep 4 10:57 syslog.log
#tail ftpd.log
Sep 4 11:06:00 erpdb ftpd[17121]: Data port : 20
Sep 4 11:06:00 erpdb ftpd[17121]: FTP server (Revision 4.0 Version wuftpd-2.6.1
Wed Jun 18 07:11:14 GMT 2008) ready.
Sep 4 11:06:01 erpdb ftpd[17121]: FTP LOGIN FROM localhost [127.0.0.1], user1
Sep 4 11:06:03 erpdb ftpd[17121]: FTP session closed
2 REPLIES
Yogesh M Puranik
Valued Contributor

Re: [Share] Logging ftpd log to other than syslog.log

Hi,

Can u specify your question ??


Rgds
YMP
Cray
Frequent Advisor

Re: [Share] Logging ftpd log to other than syslog.log

Just share a successful config, no question.