Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > Serv-U File Server Administrator Guide > Domain overview > Configure domain logs

Configure domain logs

Table of contents
Created by Jessica Solis, last modified by Jessica Solis on Nov 30, 2017

Views:  Votes: 0 Revisions: 1

In the Serv-U File Server, you can customize the logging of domain events and activity to a great extent. Logging consists of two sections: File and Screen. To enable a logging option, select the appropriate option in the File or Screen column. 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. When an option is selected from the Screen column, the event is displayed in the log when viewed from the Serv-U Management Console. 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.

Log to file settings

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.

You can use the following wildcard characters.

Wildcard Description
%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, 2015).
%X The 2-digit value of the current year (for example, 15 for 2015).
%S The name of the domain whose activity is being logged.

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.

Rotate the log file automatically

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.

Purge old 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.

Warning: 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

The following wildcards can be used for log variables:

%D --> ??
%N --> ??
%M --> *
%Y --> ????
%X --> ??
%S --> *

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.

Specify IP addresses as exempt from logging

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.

JS - Achived to 2017November30 - WIP Delete 

Last modified

Tags

Classifications

Public