RE: FTP Log

2005-06-10 Thread Dixit, Viraj
Thanks all for your help. The  -l commands work great, here's the problem. I 
came back this morning and found that the ftplog file only recorded data for 
few minutes and there was no more data. I know that FTP is heavily used on my 
site for posting purposes but the ftplog file showed no more than few minutes. 
All commands and processes are working fine. Thanks,
VJ


- Original Message - 
From: Dixit, Viraj [EMAIL PROTECTED]
To: Dan Nelson [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, June 09, 2005 4:05 PM
Subject: RE: FTP Log


My previous email didn't show some lines correctly. This one is fine.
VJ

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog
file. I have my FTP account enabled in my syslog.conf file and syslogd is
running.

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0

!ftpd
*.* /var/log/ftp.log

VJ


-

A few things for starters:

1. Try adding the -l option to enable connection logging. Add it twice to
include get, store, cmd info as well.

2. Check to make sure those are tabs and not spaces in the syslog.conf
entry.

3. Make sure the /var/log/ftp.log file actually exists. It won't create it
on it's own, so you may need to do a touch on the file and then restart
syslogd.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FTP Log

2005-06-09 Thread Dixit, Viraj

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog 
file. I have my FTP account enabled in my syslog.conf file and syslogd is 
running. 

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D  

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0  

!ftpd
*.* /var/log/ftp.log

VJ

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FTP Log

2005-06-09 Thread Dixit, Viraj
My previous email didn't show some lines correctly. This one is fine.
VJ

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog 
file. I have my FTP account enabled in my syslog.conf file and syslogd is 
running. 

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D  

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0  

!ftpd
*.* /var/log/ftp.log

VJ

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP Log

2005-06-09 Thread Dan Nelson
In the last episode (Jun 09), Dixit, Viraj said:
 Hi Dan,
 
 Can you shed light on why my FTP daemon not writing FTP logins in my
 ftplog file. I have my FTP account enabled in my syslog.conf file and
 syslogd is running.
 
 54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D  

I think you need -l here.  -l -l will give you file transfer logs as
well.

 -l  Each successful and failed ftp(1) session is logged using
 syslog with a facility of LOG_FTP.  The authentication
 events in some cases are logged with a facility of
 LOG_AUTH or LOG_AUTHPRIV.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP Log

2005-06-09 Thread Micheal Patterson


- Original Message - 
From: Dixit, Viraj [EMAIL PROTECTED]
To: Dan Nelson [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, June 09, 2005 4:05 PM
Subject: RE: FTP Log


My previous email didn't show some lines correctly. This one is fine.
VJ

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog
file. I have my FTP account enabled in my syslog.conf file and syslogd is
running.

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0

!ftpd
*.* /var/log/ftp.log

VJ


-

A few things for starters:

1. Try adding the -l option to enable connection logging. Add it twice to
include get, store, cmd info as well.

2. Check to make sure those are tabs and not spaces in the syslog.conf
entry.

3. Make sure the /var/log/ftp.log file actually exists. It won't create it
on it's own, so you may need to do a touch on the file and then restart
syslogd.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]