Documentation forServ-U MFT & Serv-U FTP Server

Domain Activity Settings

In the Serv-U File Server, you can customize how domain events and activity are logged. Logging consists of two sections, File and Screen:

File When an option is selected from the File column, the appropriate logging information is saved to the specified log file if Enable logging to file is selected.
Screen When an option is selected from the Screen column, the event is displayed in the log when viewed from the Serv-U Management Console.

Logging details

To enable a logging option, select the appropriate option in the File or Screen column. You can configure the log to show as much or as little information as you want. After configuring the logging options you want, click Save to save the changes.

Logfile path name

Before information can be saved to a file, you must specify the name of the log file. Click Browse to select an existing file or directory location for the log file. The log file path supports certain wildcard characters. Wildcard characters which refer to the date apply to the day that the log file is created. When combined with the Automatically rotate log file option, wildcards provide an automatic way to archive domain activity for audits.

%H

The hour of the day (24-hour clock).

??
%D

The current day of the month.

??
%M

The name of the current month.

*
%N

The numeric value of the current month (1-12).

??
%Y

The 4-digit value of the current year (for example, 2019).

????
%X

The 2-digit value of the current year (for example, 15 for 2019).

??
%S The name of the domain whose activity is being logged. *

Log files are purged based only on the current log file path name, and they are purged approximately every 10 minutes. Log file variables are replaced with Windows wildcard values used to search for matching files. For example:

C:\Logs\%Y:%N:%D %S Log.txt is searched for C:\Logs\????:??:?? * Log.txt

C:\Logs\%Y:%M:%D %S Log.txt is searched for C:\Logs\????:*:?? * Log.txt

C:\Logs\%S\%Y:%M:%D Log.txt is searched for C:\Logs\--DomainName--\????:*:?? Log.txt

Anything matching the path name you used wildcards for can be purged. Use caution: it is best practice to place log files into a single directory to avoid unexpected file deletion.

Enable logging to file

Select this option to enable Serv-U to begin saving log information to the file specified in the Log file path. If this option is not selected, Serv-U does not log any information to the file, regardless of the individual options selected in the File column.

Automatically rotate log file

To ensure that log files remain a manageable size and can be easily referenced during auditing, you can automatically rotate the log file on a regular basis. By specifying a Log file path containing wildcards referencing the current date, Serv-U can rotate the log file and create a unique file name every hour, day, week, month, or year.

Keep up to N log files.

Keep up to N Mb of log files

You can automatically purge old log files by setting a maximum number of files to keep, a maximum size limit in megabytes, or both. Setting these options to "0" means that the setting is unlimited, and the limit is not applied.

Do not log IPs...

You can specify IP addresses that are exempt from logging. Activity from these IP addresses is not logged to the location specified by the rule: the Screen, a File, or both. This is useful to exempt IP addresses for administrators that may otherwise generate a significant amount of logging information that can obfuscate domain activity from regular users. It can also be used to save log space and reduce overhead. Click Do Not Log IPs, and then add IP addresses as appropriate.