Skip to content

Commit

Permalink
Fix #663: Add Mobile Token documentation (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
romanstrobl authored Feb 13, 2023
1 parent c7e5727 commit 64df520
Show file tree
Hide file tree
Showing 8 changed files with 1,477 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/Configuration-Properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ The Enrollment Server uses the following public configuration properties:
| `powerauth.service.correlation-header.enabled` | `false` | Whether correlation header is enabled |
| `powerauth.service.correlation-header.name` | `X-Correlation-ID` | Correlation header name |
| `powerauth.service.correlation-header.value.validation-regexp` | `[a-zA-Z0-9\\-]{8,1024}` | Regular expression for correlation header value validation |
| `logging.pattern.console` | [See application.properties](https://github.com/wultra/enrollment-server/blob/develop/enrollment-server/src/main/resources/application.properties#L160) | Logging pattern for console which includes the correlation header value |
| `logging.pattern.console` | `_disabled_` | Logging pattern for console which includes the correlation header value |

Sample setting of logging pattern:
```properties
logging.pattern.console=%clr(%d{${LOG_DATEFORMAT_PATTERN:yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:%5p}) [%X{X-Correlation-ID}] %clr(%5p) %clr(${PID: }){magenta} %clr(---){faint}%clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}
```
Loading

0 comments on commit 64df520

Please sign in to comment.