Customizable Log File
Configure log entry formats to track synchronization activities
Overview
FTP Synchronizer allows you to customize log entries. It supports following tags:
Available Tags
| Tag | Description |
|---|---|
%TIME% or %T% |
The time file was synced |
%ACTION% or %ACT% |
File action, e.g. Update remote file, Add Local Folder, etc. |
%RESULT% or %RET% |
File sync result. "OK" or an error message |
%DIR% |
The directory of target file. e.g. /users/backup/ or d:\backup\ |
%FILENAME% or %FN% |
The target file name |
%FILESIZE% or %FS% |
The source file size |
%FILESIZEBYTES% or %FSB% |
The source file size in bytes |
%TAB% |
A tab character |
Default Format
By default, the entry format is:
%TIME% [%ACTION%] [%RESULT%]%TAB%%DIR%%FILENAME%
Example Output
With the default format, a log entry looks like:
6/18/2019 11:33:25 PM [Add Remote File] [OK] /users/lewistian/test/folder1/New Text Document.txt
Custom Formats
You can create custom log formats by combining tags:
Detailed Format
%TIME% - %ACTION% - %DIR%%FILENAME% - %RESULT% (%FILESIZE% bytes)
Output: 6/18/2019 11:33:25 PM - Add Remote File - /users/lewistian/test/folder1/New Text Document.txt - OK (12345 bytes)
CSV Format
%TIME%,%ACTION%,%RESULT%,%DIR%,%FILENAME%,%FILESIZE%
Output: 6/18/2019 11:33:25 PM,Add Remote File,OK,/users/lewistian/test/folder1/,New Text Document.txt,12345
Best Practices
- Include timestamp for chronological tracking
- Log both action and result for troubleshooting
- Include full file path for easy identification
- Use tab-separated format for easy spreadsheet import
- Test log format with a small sync first