Pure-ftpd not always logging?

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,187
Location
Maastricht
On one of our servers, pureftpd seemed to have stopped logging since 2 weeks ago.
Last filename: pureftpd.log-20130923.
No pureftpd.log file present, neither after a restart of pureftpd.
Pureftpd was running normallly.

So I tested by trying to login and the connection was accepted and instandly there was a pureftpd.log again.

Shouldn't there always be a logfile, also when no ftp connections were made?
 
I've deleted the thread you started one minute earlier because this one has more information. There were no relies.
I tested by trying to login and the connection was accepted and instandly there was a pureftpd.log again.

Shouldn't there always be a logfile, also when no ftp connections were made?
Not necessarily. It would, if it was using standard logrotate commands, but since it's using dated logs, it appears it's using it's own logging scheme. It's reasonable that it might simply look for a log with a current-date datestamp when attempting to log, and create one if it didn't exist. Perhaps it's a simple echo STRING >> FILENAME.

Jeff
 
Back
Top