Tools
Setting Up Serv-U's Log
This will guide you on setting up logging for your Serv-U. By default, logging in Serv-U is disabled.
First published date
Last published date
Overview
There are two columns available - File and Screen - and a list of actions that can be logged. If an action is added to the logging options in the File column, it will be logged to the logging file. If it is added to the Screen column, it will be shown on the Log screen in the Log tab of Domain Activity. For example, an administrator may want to enable more detailed logging to file that should be displayed on the logging tab - this makes combing through recent logs easier while preserving more detail in the long run. In the example below, the logs filed are extremely detailed, including all FTP/HTTP/SSH commands sent and received, while the screen logs are limited to provide for an easier overview. The logs are rotated daily to a file called SU9Log-%M-%N-%Y.log which automatically becomes the correct date, such as SU9Log-01-20-2008.log, SU9Log-01-21-2008.log, and so on.
Do Not Log IPs
Serv-U supports the exclusion of log files from certain IP addresses. For example, if a Serv-U server is regularly contacted by an FTP client for short transfers that do not need to be logged, an administrator can add that IP address to the "Do not log" list and remove the extraneous details from the log file, both on the screen and in the log file itself.
Product section
Resolution
- Open the Serv-U Management Console.
- Navigate to Domain Activity, go to Settings.
- The logging can also be set at Groups and User level properties.
- Enable all logging options desired
- If log should be saved to a file, checkbox the option on the right-hand side and select the file to log to.
- If logs should be automatically rotated, select the frequency under the "Automatically rotate log file option" (best used when logging file name includes time variables).
To enable User Level logging:
- Go to Domains, select the Users.
- Under the Domain Users, edit the user account.
- Go to the Logging tab
- Select the Enable logging to file box
- Set a file name for the user log. A sample is C:/Serv-ULogs/Log-%L-%M-%D-%Y.txt. The %L variable will be used to put the login ID of the account as a part of the log file name. For more information, you can check other path tags available in the logging tab,
Notes:
- It is advisable to rotate the logs Daily or Weekly to avoid having a huge log file which might cause a slow performance in Serv-U.
- Make sure that Serv-U service has permission to the log folder so the logging rotation will work correctly