## zowe › ops › show › logname

Display a list of the OPSLOG lognames that are defined to the specified subsystem. The list also identifies the live OPSLOG. This command is only available when connected to the OPS/MVS REST API server.

#### Usage

zowe ops show logname [options]

#### Options

- `--format` | `-f` (string)

  - Format of the displayed output.

    Default value: namevalue
    Allowed values: namevalue, namevaluecolor, csv, json

#### OPS/MVS Web Services / REST API connection options

- `--user` (string)

  - Your z/OS user name that is used to authenticate to OPS/MVS Web Services / REST API.

- `--password` | `--pass` (string)

  - Your z/OS password that is used to authenticate to OPS/MVS Web Services / REST API.

- `--host` (string)

  - The hostname of the server where OPS/MVS Web Services / REST API is running.

- `--port` | `-p` (number)

  - The port number for OPS/MVS Web Services / REST API.

- `--reject-unauthorized` | `--ru` (boolean)

  - If set to true, the server certificate is verified against the list of supplied CAs. If set to false, certificate verification is not performed.

    Default value: true

- `--protocol` | `--prot` (string)

  - The protocol that is used for connecting to OPS/MVS Web Services / REST API.

    Default value: https
    Allowed values: http, https

- `--subsystem` | `--subs` (string)

  - Specifies the subsystem ID of the OPS/MVS instance to which commands will be directed. This parameter is ignored with the 'show status' and 'show subsystem' commands.

    Default value: OPSS

- `--rest-api` | `--ra` (boolean)

  - If set to true, the plug-in executes the command against the OPS/MVS REST API. If set to false, the plug-in executes against the OPS/MVS Web Services.

    Default value: false

- `--base-path` | `--bp` (string)

  - NOTE: This can only be used with the REST API server. The base path for your Zowe API Mediation Layer instance. Specify this option to prepend the base path to all resources when making REST requests. Only specify this option if you are using an Zowe API Mediation Layer.

#### Profile Options

- `--ops-profile` | `--ops-p` (string)

  - The name of a (ops) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication.

    Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Show the data for the logs defined for the "OPSS" subsystem:

  - `zowe ops show logname --subsystem "OPSS"`