Skip to content

Commit

Permalink
Update appfw-tracing.md
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Nov 8, 2023
1 parent 3aced0a commit a568211
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/troubleshoot/app-framework/appfw-tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,25 @@ This includes core loggers, prefixed with `_zsf` as well as plugin loggers.
A list of core loggers and their purpose is defined within [the App Server schema](https://github.com/zowe/zlux-app-server/blob/c22105381e129bd999c47e838b424679eba26aa6/schemas/app-server-config.json#L401)
Loggers, plugin loggers, and log levels (such as 5 for highest debugging, or 2 for default) are defined in detail in the [Logging document](../../extend/extend-desktop/mvd-logutility)

Attributes within `components.app-server.logLevels` can be exact names of loggers, or can be pattern matching of multiple loggers.

For example, to enable minimum debug verbosity of the auth logger of the server core ("_zsf.auth"), and to enable maximum verbosity logging of all plugins made by company foo ("com.foo"), you could set the YAML configuration as:

```yaml
components:
app-server:
logLevels:
- _zsf.auth: 3
- com.foo.*: 5
```

# Advanced debugging for ZSS

The Zowe YAML file section `components.zss.logLevels` controls the verbosity for every logger within the server.
This includes core loggers, prefixed with `_zss`.

A list of core loggers and their purpose is defined within [the ZSS schema](https://github.com/zowe/zss/blob/c85e374f3d7a4a9b93d6f8337d474f384135744b/schemas/zss-config.json#L235)

Unlike the App Server, the `components.zss.logLevels` section cannot take pattern matching for attribute names. The attribute names must exactly match the name of a logger.


0 comments on commit a568211

Please sign in to comment.