Tools
Configure the Serv-U Domain Logs
This article how to enable and gather the Serv-U Domain Logs
First published date
Last published date
Overview
Gathering logs from Serv-U is important when troubleshooting different scenarios like login failure, connection failure, and data analysis.
The logs can be seen if you go to Domains > Domain Activity > Log tab.
Note that the logs shown in the Log tab are purged when the Serv-U service is restarted.
By default, the Domain Logs are not saved to any directories and it needs to be configured. This means that if the Serv-U Administrator wants to read the logs for past incidents, they might not be recorded.
See the instructions below on how to configure and the logs and ensure they are saved inside a directory.
Product section
Resolution
1. Go to Domains > Domain Activity > Settings tab
2. Click the folder icon to select the directory where you want to save the Domain Logs
3. Once you point to the directory, click the Select button
4. The next prompt is an informational message indicating that there should be a certain format for the file name. Click the OK button
5. Back to the Settings tab, add the desired file name format for the logs. It is important to add the tags so the logs files will rotate properly.
- This is one suggested file name format: /C:/SERVU/Logs/ServU-Logs-%M-%D-%Y.txt
- /C:/SERVU/Logs/ - directory where the logs will be saved
- ServU-Logs - file name
- -%M-%D-%Y.txt - tags used (notice the file name extension)
- Click the Enable logging to file box
- Ensure that the log files will rotate. Common suggestion is to rotate it Daily for easier management, especially for environments with a lot of traffic which will result to large log files
- Once the file name, rotation, and the Enable logging to file check box are completed ,click the SAVE button
6. You can validate if the logs are properly configured by going to the directory specified where the log file will be saved. The example below show how the file name will show when the -%M-%D-%Y.txt tag combination is used
7. When troubleshooting different scenarios, ensure to tick the boxes beside each protocols presented.
- Normal logging should include:
- FTP Commands, FTP Replies
- SSH commands, SSH replies
- HTTP commands, HTTP replies
- For more information when troubleshooting SFTP issues, enable SSH detailed commands and SSH detailed replies