Windows ftp server logs1/6/2024 The Robo-FTP installation folder is the default initial local working directory but this default can be changed by modifying the value of the "Working Directory" field on the Files menu in the Configurator. The current local working directory may be changed by using the WORKINGDIR command or by using the FTPLOGON command to connect to a Managed Site with a value in the Initial Local Directory field. If your script uses the LOG or TRACELOG commands to specify a file name without a complete path, the log files will be created in the working directory. If you can't find your log files, search your command script for the LOG or TRACELOG commands because they can override the default settings that you configured on the Logging menu in the Configurator. In this example, the troubleshooting information you really need is in the file named AcmeDownload_script.log instead of the default Robo-FTP_Script.log file. The screenshot below shows an example of a Script Log that does not contain useful troubleshooting information because the LOG command was used to redirect logging output to a different file. Step 5) Verify the Script Log shows the errorĮxamine the Script Log file and verify that it contains the script or commands that you want to troubleshoot. Notice that although the top row timestamps do not match, later rows make clear that both files were created during the same script execution. The screenshot below shows each log file opened in a separate tab in the RoboEDIT program. Compare the current time to the timestamps in both logs to verify that each file captured the most recent script execution from step 2 above. Each file will be displayed in a separate tab.Įach row of the Script Log and Trace Log files begins with a timestamp. To use the RoboEDIT script editor to open both log files at once in separate tabs, launch RoboEDIT and click File -> Open on the top menu and then follow these steps:Ĭlick the Open button (or hit the Enter key) to open both log files at once. Open the Script Log and Trace Log files in a text editor program. If are in a hurry but your script is configured to run on a schedule as a Windows Service or Scheduled Task you might consider launching it from the main console window instead of waiting for the next regularly scheduled execution. The default folder for these logs is the Robo-FTP installation folder but you can change the path by clicking the folder button to the right of the log file name.Įxecute the script (or series of commands) to create a fresh set of log files showing the problem that you want to troubleshoot. In the image below, the default Script Log and Trace Log are enabled but the default Session Log is disabled. Use the Logging menu in the Configurator program to enable the default log files. Carefully follow the five steps below to create the Script Log and Trace Log files. The Session Log has a much more limited purpose and should only be enabled while actively troubleshooting a secure session problem. We recommend that you always enable the Script Log and Trace Log because they are crucial for troubleshooting all but the most trivial problems. Session Log - contains diagnostic messages regarding secure sessions (SSH/SSL)Ĭreating the Log Files Required for Troubleshooting
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |