Administration Guide > TDV Logging Information > Log File Collection for Support > Saving Log Files to Support
 
Saving Log Files to Support
You can collect the files in one of three ways:
Studio
Manager
From the command line
The diagnostics collected are exactly the same regardless of which method you use. The processes for each method are described in the following sections.
Generating Log Files in Studio or Manager
Generating Log Files Using the Command Line
Generating Log Files in Studio or Manager
Using Studio, you can select which log files to generate. This also creates a zip file from the log files.
To generate log files in Studio or Manager
1. Run Studio, from the Administration menu, choose Save Logs for Support.
2. Click OK.
3. Click the check boxes next to the files you want to collect.
4. Click Save.
5. Name and save the zip files to a location of your choice.
6. Follow the prompts on the screen and collect your zip files as necessary.
Generating Log Files Using the Command Line
You can collect the log files from the command line using server_util. See TDV Command-Line Utilities for more information about server_util.
To generate log files from the command line
1. Open a command prompt window.
2. Navigate to the <TDV_install_dir>/bin.
3. Enter the server_util command with the -saveLogs option that specifies which log files to collect for a Support case number.
The command syntax for server_util using the -saveLogs option is as follows:
server_util -server <hostname> [-port <port>] [-encrypt]
-user <username> -password <password> [-domain <domain>]
-saveLogs [-port <port>] [-folder <filepath>] [-exclude <File Group>]
 
where <File Group> can be any combination of "logs, conf, sysinfo".
For example, a basic command to upload all files would be:
./server_util.sh -server localhost -user admin -password admin -saveLogs