Use the OVF Tool’s log options if you are not seeing the results you expect. The log options allow you to see the operations of the OVF Tool, and send the results to the console or to a file.
Two of the most commonly used options are: --X:logFile and --X:logLevel.
■
|
Use the --X:logFile=<filename> option to log the complete ovftool session to a file |
■
|
Use the --X:logLevel=<level> option to control the verbosity of the logs |
For example, you can use a command similar to this to write the log in a file called ovftool-log.txt:
>ovftool --X:logFile=ovftool-log.txt --X:logLevel=verbose LAMP.ovf vi://localhost/Datacenter/host/Cluster
The following table lists all of the log options.
Log level. Valid values are: none, quiet, panic, error, warning, info, verbose, and trivia). |
|
Add transfer header data to the log. Use with care. Default value is false |
The OVF Tool includes 22 other debug options, that you can set to retrieve specific data. You can see all of the debug options and their definitions by running ovftool --help debug.