proftpd log time and date mixed up.

proftpd log time and date mixed up.

Postby shakir » Sun Mar 07, 2010 9:28 am

On my Etch servers, proftpd's logs in /var/log/proftpd/ are all mixed up. Just logging in, transferring a file, logging out, each action or series of actions were often being logged with mixed dates and times, never in order, and always wrong.

Turns out by default proftp is logging times in GMT or somesuch, I guess based on the client's system? To force proftpd to log by the server's local time, add these two lines to /etc/proftpd/proftpd.conf

TimesGMT off
SetEnv TZ :/etc/localtime


/etc/init.d/proftpd restart


regards

Shakir Hussain
shakir
 
Posts: 26
Joined: Mon Feb 15, 2010 11:23 pm
FullName: Shakir Hussain

Return to General questions and Ideas

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron