export-import
export logs
Retrieve the logs for all export jobs associated with an instance of
Syntax
cpd-cli export-import export logs <cpd-export-name> \
[--arch=<system-cpu-architecture>] \
[--cpdconfig=<cpd-configuration-location>] \
[--log-level=info|debug|warn|error|panic|trace] \
[--namespace=<namespace-name>] \
--profile=<profile-name> \
[--verbose]
Arguments
Table 1: Command arguments
| Argument | Description |
|---|---|
<cpd-export-name> |
The name of the export to retrieve export logs for. |
Options
Table 1: Command options
| Option | Description |
|---|---|
--arch |
The type of hardware the cluster
runs on.
|
--cpdconfig |
The IBM Software Hub
configuration location. For example,
$HOME/.cpd-cli/config.
|
|
|
Display command
help.
|
--log-level |
The command log
level.
|
|
|
The namespace name in which the
utility should operate.
|
--profile |
The name of the profile that you
created to store information about an instance of IBM Software Hub and your credentials for the
instance.
|
--verbose |
Logs include more detailed
messages.
|
Examples
Note: The following examples use the recommended installation environment variables.
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Setting up installation environment variables.
- Retrieve the logs for the IBM Software
Hub export in the
${PROJECT_CPD_INST_OPERANDS}namespace. -
cpd-cli export-import export logs <cpd-export-name> \ --namespace=${PROJECT_CPD_INST_OPERANDS}