Hi,
Using FileZilla Server 0.9.60 beta. We recently changed servers and installed FileZilla Server on the new server. It seems that the log file timestamp format has now changed from mm/dd/yyyy to yyyy/mm/dd. I have played with the Windows date/time settings and Windows is set in the mm/dd/yyyy format, however FileZilla Server keeps writing events to its logs in yyyy/mm/dd format. The problem is this is breaking my log parser application (Sawmill 8 ) which only supports the mm/dd/yyyy format.
Examples:
Old server log file:
(000027) 10/1/2019 0:03:58 AM - (not logged in) (31.148.xxx.xxx)> Connected on port 21, sending welcome message...
New server log file:
(000034) 2019/10/02 0:14:07 AM - (not logged in) (169.0.xxx.xxx)> Connected on port 21, sending welcome message...
No matter what format I choose in Windows, FileZilla Server sticks to the yyyy/mm/dd format.
How does the software decide what format to use for the date in the log files? What do I need to change to get the date format back to what I need?
Thank you in advance.
FileZilla Server log timestamp format
Moderator: Project members
Re: FileZilla Server log timestamp format
It's using the date/time format of the locale the Windows user account the FileZilla Server service is run under. The default account is SYSTEM.
Technically it's calling the GetTimeFormat and GetDateFormat Windows functions with LOCALE_USER_DEFAULT as first argument.
What the format is can be changed somewhere in Windows, though I would need to use Google.
Technically it's calling the GetTimeFormat and GetDateFormat Windows functions with LOCALE_USER_DEFAULT as first argument.
What the format is can be changed somewhere in Windows, though I would need to use Google.
Re: FileZilla Server log timestamp format
If you change region settings in your Windows, you usually do that only for your user account.
Open the advanced region settings (in the old Control Panel, in case you use a Windows 10-based OS), change to the Administrative tab and apply your current user settings to "Welcome screen and system accounts."
Open the advanced region settings (in the old Control Panel, in case you use a Windows 10-based OS), change to the Administrative tab and apply your current user settings to "Welcome screen and system accounts."
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: FileZilla Server log timestamp format
Thank you, that did it!