Skip to content

Commit

Permalink
docs: add steps for enabling logs (#3426)
Browse files Browse the repository at this point in the history
* docs: add steps for enabling logs

* fix: formatting
  • Loading branch information
ossdhaval authored Dec 28, 2022
1 parent 656ab32 commit 6ad166a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/developer/developer-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ tags:

----------------------------

## How to enable debug logs for jans-cli and TUI configuration tools

By default, logging is not enabled for CLI or TUI tools on Janssen Server. Follow the steps below
to enable and configure logging for CLI and TUI tools:

- Log in as root user
- open config file for editing `~/.config/jans-cli.ini`
- Update value for `debug` to `true` and add new entry for `log_dir` key with value pointing to directory where logs need to be generated. e.g
```
debug = true
log_dir = /opt/jans
```
- Close currently open TUI session if any and open a new one
- Logs should get available at location configured in `log_dir` in files `cli_debug.log` and `dev-tui.log`

## How to install Janssen Server OpenBanking for testing?

!!! Note
Expand Down Expand Up @@ -62,7 +77,7 @@ launch jans-cli using below command
```
further testing is same as jans server

### Testing using commnd line mode
### Testing using command line mode

we can run below command at command line.
for ex:
Expand Down

0 comments on commit 6ad166a

Please sign in to comment.