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