Editing
Server logs
(section)
From FileZilla Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== File log == The second logging possibility is logging to file. Filelog is disabled after a fresh installation and must be enabled first. === What is logged (older FileZilla Server) === * Connection ID (in brackets): every new connection will get a unique ID, this aids in tracking one special connection only<br> * Time stamp * User name of the account using this connection, '''(not logged in)''' is shown before the login process is completed.<br> * IP of the initiator of the connection * The separator ><br> * Log text: Commands received, replies sent, status messages and more Note that additional internal status messages don't follow this scheme. === What is logged (newer FileZilla server) === * Timestamp: data and time<br> * Message type<br> * FileZilla process ID<br> * Connection ID, browsing connection is 0<br> * Log text: Commands sent, status messages and more === Message types === The following 2-digit characters represent the type of message: * == : Status * !! : Error * >> : Command * << : Reply * WW : Warning * DW : Debug warning * DI : Debug info * DV : Debug verbose * DD : Debug debug === Setting up file log === Open the server settings (Edit -> Settings) and navigate to the 'Logging' tab. Tick the 'Enable logging to file' box and you're done. The logfiles are stored into a 'Logs' (I.E. C:\Program Files (x86)\FileZilla Server\Logs) subdirectory of FileZilla Servers installation path. This location cannot be changed. === Limiting the log size === Enable 'Limit log file size to' and enter the desired value (in KB) into the field. When the logfile reaches this size, the oldest entries will be deleted. === Daily logfile rotation === You can either log everything into one big file, or let the server create a new logfile every day. Just enable 'Use a different logfile each day', and FileZilla Server will create logs in the format '''fzs-yy<b></b>yy-mm-dd.log'''.<br> The timestamp in the logfile name follows ISO8601 (four digit year, then month, then day), so the logs will sort correctly. Additionally you can set the number of days for which logfiles are kept. Enable 'Delete old logfiles after' and put the desired value (in days) into the field. === Special case: Using log size limit and rotating logfiles together === There is one effect when using these two features together which may confuse many users because it works differently as expected.<br> '''When enabling a logfile size limit with daily rotating logs, the limit does not apply to every file, but to all files together!''' Example: You enabled a size limit of 100MB, daily logs and deleting logfiles after 10 days. All 10 logfiles together may not exceed 100MB, so you could have 10 logfiles of 10MB each. But once the quota is exceeded, the oldest logfiles will be deleted until there are less than 100MB of files again.
Summary:
Please note that all contributions to FileZilla Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
FileZilla Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main Page
Community portal
Recent changes
Random page
Help
Search
Tools
What links here
Related changes
Special pages
Page information