Jump to content

No proftpd log (/var/log/proftpd)


MottS
 Share

Recommended Posts

Hi all

 

I'd like my ftp server (proftpd) to write some log file .. like the Access and Error file for Apache. Now whenever someone log in and get files nothing is written into /var/log/proftpd .. anoying ! So what do I have to add in the config file?

 

Thx

 

MottS

Link to comment
Share on other sites

Its a while since i used proftp (use pure-ftp now) but as i remember you need to un-comment this line in you conf :

# Record all logins

ExtendedLog          /var/log/proftpd.auth_log      AUTH auth<<<(or whatever goes here)

Don't hold me to it though, my memory is getting worse!!

Link to comment
Share on other sites

Hey .. thanks Anon !

 

This is what I was looking for basically (the ExtendedLog). I put the following in my /etc/proftpd.conf file and it started to log what I wanted ..

 

ExtendedLog     /var/log/proftpd/ProFTPd.read.log       READ
ExtendedLog     /var/log/proftpd/ProFTPd.write.log      WRITE

 

Here is the man page of ExtendedLog for other to use ..

 

http://www.proftpd.org/docs/directives/lin...xtendedLog.html

 

Thanks again !

 

MOttS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...